Araeynn commited on
Commit
4e6dd0d
·
verified ·
1 Parent(s): 2dd906a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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)