Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,3 @@ async def websocket_endpoint(websocket: WebSocket):
|
|
108 |
print("❌ Client disconnected")
|
109 |
except Exception as e:
|
110 |
print(f"⚠️ Error: {e}")
|
111 |
-
|
112 |
-
if __name__ == "__main__":
|
113 |
-
print("\n🔥 Starting WebSocket server...")
|
114 |
-
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
108 |
print("❌ Client disconnected")
|
109 |
except Exception as e:
|
110 |
print(f"⚠️ Error: {e}")
|
|
|
|
|
|
|
|