[dfif][disney] style var -> 'disney'
Browse files
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,
|
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
|