Diomedes Git
commited on
Commit
·
d2f2039
1
Parent(s):
40fd048
added mcp_server=True arg to gradio, about to add 'deliberation' function for the mcp call (less messy than chat)
Browse files- app.py +1 -1
- src/gradio/app.py +1 -1
app.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
from src.gradio.app import my_gradio_app
|
| 2 |
-
my_gradio_app.launch()
|
|
|
|
| 1 |
from src.gradio.app import my_gradio_app
|
| 2 |
+
my_gradio_app.launch(mcp_server=True)
|
src/gradio/app.py
CHANGED
|
@@ -227,4 +227,4 @@ if __name__ == "__main__":
|
|
| 227 |
sys.exit(0)
|
| 228 |
|
| 229 |
demo.queue()
|
| 230 |
-
demo.launch()
|
|
|
|
| 227 |
sys.exit(0)
|
| 228 |
|
| 229 |
demo.queue()
|
| 230 |
+
demo.launch(mcp_server=True)
|