OppaAI commited on
Commit
782a6c8
·
verified ·
1 Parent(s): e6b6ea7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -124,13 +124,5 @@ demo = gr.Interface(
124
  )
125
 
126
  if __name__ == "__main__":
127
- # Run FastMCP server *in the same process* (blocking)
128
- import threading
129
-
130
- def run_mcp():
131
- mcp.run(transport="stdio")
132
-
133
- t = threading.Thread(target=run_mcp, daemon=True)
134
- t.start()
135
 
136
  demo.launch(mcp_server=True)
 
124
  )
125
 
126
  if __name__ == "__main__":
 
 
 
 
 
 
 
 
127
 
128
  demo.launch(mcp_server=True)