Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ async def echo(websocket):
|
|
| 30 |
await websocket.send(json.dumps({"type": "update", "data": {"players": players}}))
|
| 31 |
|
| 32 |
async def main():
|
| 33 |
-
async with serve(echo, "0.0.0.0",
|
| 34 |
await asyncio.Future()
|
| 35 |
|
| 36 |
asyncio.run(main())
|
|
|
|
| 30 |
await websocket.send(json.dumps({"type": "update", "data": {"players": players}}))
|
| 31 |
|
| 32 |
async def main():
|
| 33 |
+
async with serve(echo, "0.0.0.0", 7860):
|
| 34 |
await asyncio.Future()
|
| 35 |
|
| 36 |
asyncio.run(main())
|