lunarflu HF Staff commited on
Commit
918ede3
·
1 Parent(s): 24a87cb

await -> sent_message = await

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -89,9 +89,9 @@ async def deepfloydif(ctx, *, prompt: str):
89
  # Trigger the second stage prediction
90
  #await dfif2(ctx, stage_1_result_path)
91
 
92
- await ctx.reply('Here is the combined image. React with the image you want to upscale!')
93
  with open(combined_image_path, 'rb') as f:
94
- await ctx.send(file=discord.File(f, 'combined_image.png'))
95
 
96
  # bot reacts with appropriate emojis to the post, both showing the user what options they have,
97
  # as well as showing which post to react to.
 
89
  # Trigger the second stage prediction
90
  #await dfif2(ctx, stage_1_result_path)
91
 
92
+ message = await ctx.reply('Here is the combined image. React with the image you want to upscale!')
93
  with open(combined_image_path, 'rb') as f:
94
+ sent_message = await ctx.send(file=discord.File(f, 'combined_image.png'))
95
 
96
  # bot reacts with appropriate emojis to the post, both showing the user what options they have,
97
  # as well as showing which post to react to.