Update app.py
Browse files
app.py
CHANGED
@@ -190,3 +190,7 @@ async def coinflip_game(websocket: WebSocket):
|
|
190 |
except Exception as e:
|
191 |
await websocket.send_json({"error": str(e)})
|
192 |
await websocket.close()
|
|
|
|
|
|
|
|
|
|
190 |
except Exception as e:
|
191 |
await websocket.send_json({"error": str(e)})
|
192 |
await websocket.close()
|
193 |
+
|
194 |
+
if __name__ == "__main__":
|
195 |
+
import uvicorn
|
196 |
+
uvicorn.run("main:app", host="127.0.0.1", port=8080, reload=False)
|