mah-diaa commited on
Commit
3f68ea0
Β·
1 Parent(s): 995d354

Enable Gradio MCP server mode for hackathon compliance

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. app.py +7 -1
README.md CHANGED
@@ -40,10 +40,10 @@ tags:
40
 
41
  ## πŸ› οΈ Technology Stack
42
 
43
- - **Gradio**: Beautiful, interactive web interface
44
  - **LLM Integration**: Uses HuggingFace Router API (Qwen 2.5) for intelligent content analysis
45
  - **PDF Processing**: PyPDF2 and pdfplumber for robust document parsing
46
- - **MCP Integration**: Part of the Gnosis ecosystem with MCP server integration
47
 
48
  ## πŸ“š Use Cases
49
 
 
40
 
41
  ## πŸ› οΈ Technology Stack
42
 
43
+ - **Gradio**: Beautiful, interactive web interface with built-in MCP server support
44
  - **LLM Integration**: Uses HuggingFace Router API (Qwen 2.5) for intelligent content analysis
45
  - **PDF Processing**: PyPDF2 and pdfplumber for robust document parsing
46
+ - **MCP Server**: Gradio app serves as an MCP server (enabled via `mcp_server=True`) for hackathon compliance
47
 
48
  ## πŸ“š Use Cases
49
 
app.py CHANGED
@@ -1210,4 +1210,10 @@ if __name__ == "__main__":
1210
  }
1211
  """
1212
 
1213
- app.launch(theme="shivi/calm_seafoam", css=custom_css)
 
 
 
 
 
 
 
1210
  }
1211
  """
1212
 
1213
+ # Enable MCP server functionality for hackathon compliance
1214
+ # This makes the Gradio app serve as an MCP server
1215
+ app.launch(
1216
+ theme="shivi/calm_seafoam",
1217
+ css=custom_css,
1218
+ mcp_server=True # Enable MCP server mode
1219
+ )