lunarflu HF Staff commited on
Commit
956c50d
·
1 Parent(s): a697e01

concurrent.futures

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -13,6 +13,7 @@ from gradio_client import Client
13
  from PIL import Image
14
  import asyncio
15
  import shutil # for doing image movement magic
 
16
 
17
 
18
  DFIF_TOKEN = os.getenv('HF_TOKEN')
@@ -32,6 +33,7 @@ async def lunar(ctx):
32
 
33
  @bot.command()
34
  async def jojo(ctx):
 
35
  attachment = await discord_before(ctx)
36
  if attachment:
37
  asyncio.create_task(generation(ctx, attachment))
 
13
  from PIL import Image
14
  import asyncio
15
  import shutil # for doing image movement magic
16
+ import concurrent.futures
17
 
18
 
19
  DFIF_TOKEN = os.getenv('HF_TOKEN')
 
33
 
34
  @bot.command()
35
  async def jojo(ctx):
36
+
37
  attachment = await discord_before(ctx)
38
  if attachment:
39
  asyncio.create_task(generation(ctx, attachment))