Spaces:
Running
on
T4
Running
on
T4
Add MCP server
Browse files- app.py +2 -1
- requirements.txt +1 -0
app.py
CHANGED
@@ -651,9 +651,10 @@ def ui(**kwargs):
|
|
651 |
launch_kwargs['share'] = share
|
652 |
launch_kwargs['allowed_paths'] = ["assets", "./assets", "images", "./images", 'e:/TMP']
|
653 |
launch_kwargs['favicon_path'] = "./assets/favicon.ico"
|
|
|
654 |
|
655 |
|
656 |
-
demo.queue(max_size=10, api_open=
|
657 |
|
658 |
if __name__ == "__main__":
|
659 |
parser = argparse.ArgumentParser()
|
|
|
651 |
launch_kwargs['share'] = share
|
652 |
launch_kwargs['allowed_paths'] = ["assets", "./assets", "images", "./images", 'e:/TMP']
|
653 |
launch_kwargs['favicon_path'] = "./assets/favicon.ico"
|
654 |
+
launch_kwargs['mcp_server'] = True
|
655 |
|
656 |
|
657 |
+
demo.queue(max_size=10, api_open=True).launch(**launch_kwargs)
|
658 |
|
659 |
if __name__ == "__main__":
|
660 |
parser = argparse.ArgumentParser()
|
requirements.txt
CHANGED
@@ -16,6 +16,7 @@ demucs
|
|
16 |
librosa==0.11.0
|
17 |
soundfile
|
18 |
gradio[oauth]
|
|
|
19 |
pillow
|
20 |
torchdiffeq
|
21 |
torchmetrics
|
|
|
16 |
librosa==0.11.0
|
17 |
soundfile
|
18 |
gradio[oauth]
|
19 |
+
gradio[mcp]
|
20 |
pillow
|
21 |
torchdiffeq
|
22 |
torchmetrics
|