Spaces:
Running
Running
mah-diaa
commited on
Commit
Β·
3f68ea0
1
Parent(s):
995d354
Enable Gradio MCP server mode for hackathon compliance
Browse files
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
|
| 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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
)
|