Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -178,7 +178,7 @@ async def run_bot():
|
|
| 178 |
bot.run(DISCORD_TOKEN)
|
| 179 |
def start_bot_thread():
|
| 180 |
asyncio.run(run_bot())
|
| 181 |
-
threading.Thread(target=
|
| 182 |
def greet(name):
|
| 183 |
return "Hello " + name + "!"
|
| 184 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
|
| 178 |
bot.run(DISCORD_TOKEN)
|
| 179 |
def start_bot_thread():
|
| 180 |
asyncio.run(run_bot())
|
| 181 |
+
threading.Thread(target=start_bot_thread).start()
|
| 182 |
def greet(name):
|
| 183 |
return "Hello " + name + "!"
|
| 184 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|