electblake commited on
Commit
3765781
·
1 Parent(s): 89354a7

feat: enable Gradio MCP server

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -0
app.py CHANGED
@@ -166,4 +166,4 @@ with gr.Blocks(css=CSS, title="Spreadsheet Data Agent") as demo:
166
  show_progress="full",
167
  )
168
 
169
- demo.queue().launch()
 
166
  show_progress="full",
167
  )
168
 
169
+ demo.queue().launch(mcp_server=True)
requirements.txt CHANGED
@@ -1,4 +1,5 @@
1
  huggingface-hub>=0.34.0,<1.0
 
2
  --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu130
3
  llama-cpp-python==0.3.34
4
  openpyxl
 
1
  huggingface-hub>=0.34.0,<1.0
2
+ gradio[mcp]==6.17.3
3
  --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu130
4
  llama-cpp-python==0.3.34
5
  openpyxl