DeMaking commited on
Commit
9aaf2fd
·
verified ·
1 Parent(s): 419bb35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -137,13 +137,13 @@ async def root():
137
 
138
 
139
  # Function to run bot.py
140
- def run_bot():
141
- logging.info("Starting Telegram bot...")
142
- subprocess.Popen(["python3", "bot.py"])
143
 
144
 
145
  if __name__ == "__main__":
146
- run_bot()
147
  import uvicorn
148
  uvicorn.run(app, host="0.0.0.0", port=7860)
149
 
 
137
 
138
 
139
  # Function to run bot.py
140
+ # def run_bot():
141
+ # logging.info("Starting Telegram bot...")
142
+ # subprocess.Popen(["python3", "bot.py"])
143
 
144
 
145
  if __name__ == "__main__":
146
+ # run_bot()
147
  import uvicorn
148
  uvicorn.run(app, host="0.0.0.0", port=7860)
149