No change, just rebuild hf spaces app
Browse files- app.py +1 -1
- test.ipynb +18 -2
app.py
CHANGED
|
@@ -31,4 +31,4 @@ demo = gr.Interface(
|
|
| 31 |
|
| 32 |
# Launch the interface and MCP server
|
| 33 |
if __name__ == "__main__":
|
| 34 |
-
demo.launch(mcp_server=True)
|
|
|
|
| 31 |
|
| 32 |
# Launch the interface and MCP server
|
| 33 |
if __name__ == "__main__":
|
| 34 |
+
demo.launch(mcp_server=True)
|
test.ipynb
CHANGED
|
@@ -10,10 +10,26 @@
|
|
| 10 |
},
|
| 11 |
{
|
| 12 |
"cell_type": "code",
|
| 13 |
-
"execution_count":
|
| 14 |
"id": "0de3b792",
|
| 15 |
"metadata": {},
|
| 16 |
-
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
"source": [
|
| 18 |
"import gradio as gr\n",
|
| 19 |
"\n",
|
|
|
|
| 10 |
},
|
| 11 |
{
|
| 12 |
"cell_type": "code",
|
| 13 |
+
"execution_count": 1,
|
| 14 |
"id": "0de3b792",
|
| 15 |
"metadata": {},
|
| 16 |
+
"outputs": [
|
| 17 |
+
{
|
| 18 |
+
"name": "stderr",
|
| 19 |
+
"output_type": "stream",
|
| 20 |
+
"text": [
|
| 21 |
+
"c:\\Users\\jaros\\Documents\\Python\\mcp_server_deployment_sample\\.venv\\Lib\\site-packages\\tqdm\\auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
|
| 22 |
+
" from .autonotebook import tqdm as notebook_tqdm\n"
|
| 23 |
+
]
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"name": "stdout",
|
| 27 |
+
"output_type": "stream",
|
| 28 |
+
"text": [
|
| 29 |
+
"[<mcpadapt.smolagents_adapter.SmolAgentsAdapter.adapt.<locals>.MCPAdaptTool object at 0x0000021AB73E7550>]\n"
|
| 30 |
+
]
|
| 31 |
+
}
|
| 32 |
+
],
|
| 33 |
"source": [
|
| 34 |
"import gradio as gr\n",
|
| 35 |
"\n",
|