Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,10 +99,10 @@ if __name__ == "__main__":
|
|
| 99 |
try:
|
| 100 |
if MCP_AVAILABLE and mcp_enabled:
|
| 101 |
print("π MCP Server enabled! Connect via Claude Desktop or other MCP clients.")
|
| 102 |
-
app.launch(server_name="0.0.0.0", server_port=
|
| 103 |
else:
|
| 104 |
print("π± Running without MCP integration")
|
| 105 |
-
app.launch(server_name="0.0.0.0", server_port=
|
| 106 |
except KeyboardInterrupt:
|
| 107 |
print("π FocusFlow stopped by user")
|
| 108 |
except Exception as e:
|
|
|
|
| 99 |
try:
|
| 100 |
if MCP_AVAILABLE and mcp_enabled:
|
| 101 |
print("π MCP Server enabled! Connect via Claude Desktop or other MCP clients.")
|
| 102 |
+
app.launch(server_name="0.0.0.0", server_port=7860, share=False, mcp_server=True)
|
| 103 |
else:
|
| 104 |
print("π± Running without MCP integration")
|
| 105 |
+
app.launch(server_name="0.0.0.0", server_port=7860, share=False)
|
| 106 |
except KeyboardInterrupt:
|
| 107 |
print("π FocusFlow stopped by user")
|
| 108 |
except Exception as e:
|