lunarflu HF Staff commited on
Commit
426d079
·
1 Parent(s): 1a4a3a8

[dfif][disney] style var -> 'disney'

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -133,7 +133,7 @@ async def disney(ctx):
133
  await thread.send(f'{ctx.author.mention}Generating images in thread, can take ~1 minute...')
134
  attachment = ctx.message.attachments[0]
135
  style = 'disney'
136
- im = await asyncio.get_running_loop().run_in_executor(None, jojogan.predict, attachment.url, style)
137
  await thread.send(f'{ctx.author.mention}Here is the {style} version of it', file=discord.File(im))
138
  await ctx.message.add_reaction('✅') # img + face
139
  else: # no image
 
133
  await thread.send(f'{ctx.author.mention}Generating images in thread, can take ~1 minute...')
134
  attachment = ctx.message.attachments[0]
135
  style = 'disney'
136
+ im = await asyncio.get_running_loop().run_in_executor(None, jojogan.predict, attachment.url, 'disney')
137
  await thread.send(f'{ctx.author.mention}Here is the {style} version of it', file=discord.File(im))
138
  await ctx.message.add_reaction('✅') # img + face
139
  else: # no image