korakot commited on
Commit
5e97050
·
verified ·
1 Parent(s): 912aca6

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -174,4 +174,6 @@ def render_svg(svg: str, title: str = "SVG Diagram") -> CallToolResult:
174
 
175
 
176
  if __name__ == "__main__":
177
- mcp.run(transport="streamable-http", host="0.0.0.0", port=7860)
 
 
 
174
 
175
 
176
  if __name__ == "__main__":
177
+ import uvicorn
178
+ app = mcp.streamable_http_app()
179
+ uvicorn.run(app, host="0.0.0.0", port=7860)