lunarflu HF Staff commited on
Commit
8214fe2
Β·
1 Parent(s): 426d079

[dfif][sketch] removed all variables related to 'sketch'

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -178,9 +178,9 @@ async def sketch(ctx):
178
  if ctx.message.attachments:
179
  await thread.send(f'{ctx.author.mention}Generating images in thread, can take ~1 minute...')
180
  attachment = ctx.message.attachments[0]
181
- style = 'sketch'
182
- im = await asyncio.get_running_loop().run_in_executor(None, jojogan.predict, attachment.url, style)
183
- await thread.send(f'{ctx.author.mention}Here is the {style} version of it', file=discord.File(im))
184
  await ctx.message.add_reaction('βœ…') # img + face
185
  else: # no image
186
  await thread.send(f"{ctx.author.mention}No attachments to be found...Can't animify dat! Try sending me an image πŸ˜‰")
 
178
  if ctx.message.attachments:
179
  await thread.send(f'{ctx.author.mention}Generating images in thread, can take ~1 minute...')
180
  attachment = ctx.message.attachments[0]
181
+ #style = 'sketch'
182
+ im = await asyncio.get_running_loop().run_in_executor(None, jojogan.predict, attachment.url, 'sketch')
183
+ await thread.send(f'{ctx.author.mention}Here is the sketch version of it', file=discord.File(im))
184
  await ctx.message.add_reaction('βœ…') # img + face
185
  else: # no image
186
  await thread.send(f"{ctx.author.mention}No attachments to be found...Can't animify dat! Try sending me an image πŸ˜‰")