azils3 commited on
Commit
adb5200
·
verified ·
1 Parent(s): ade7a8f

Update bot.py

Browse files
Files changed (1) hide show
  1. bot.py +0 -3
bot.py CHANGED
@@ -63,9 +63,6 @@ class Bot(Client):
63
  await web.TCPSite(app, "0.0.0.0", 8080).start()
64
  logger.info("Web Response Is Running......🕸️")
65
 
66
- # Run FastAPI app in a separate task
67
- asyncio.create_task(uvicorn.run(fastapi_app, host="0.0.0.0", port=8000, log_level="info"))
68
-
69
  async def stop(self, *args):
70
  logger.info("Stopping bot...")
71
  await super().stop()
 
63
  await web.TCPSite(app, "0.0.0.0", 8080).start()
64
  logger.info("Web Response Is Running......🕸️")
65
 
 
 
 
66
  async def stop(self, *args):
67
  logger.info("Stopping bot...")
68
  await super().stop()