ericwood73 commited on
Commit
1e1b8ef
·
verified ·
1 Parent(s): 6ef61ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -268,7 +268,8 @@ def run_gradio_app():
268
  bot_app.launch()
269
 
270
  # Create a new thread for the gradio app
271
- # gradio_thread = threading.Thread(target=run_gradio_app)
 
272
 
273
  # asyncio.run(run_bot())
274
  bot.run(DISCORD_BOT_TOKEN)
 
268
  bot_app.launch()
269
 
270
  # Create a new thread for the gradio app
271
+ gradio_thread = threading.Thread(target=run_gradio_app)
272
+ gradio_thread.start()
273
 
274
  # asyncio.run(run_bot())
275
  bot.run(DISCORD_BOT_TOKEN)