combined_image -> combined_image_path
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ async def deepfloydif(ctx, *, prompt: str):
|
|
107 |
thread = await sent_message.create_thread(name='Image Upscaling Thread')
|
108 |
|
109 |
#4
|
110 |
-
with open(
|
111 |
threadmsg = await thread.send('Here is the combined image. React with the image number you want to upscale!', file=discord.File(f, 'combined_image.png'))
|
112 |
|
113 |
# bot reacts with appropriate emojis to the post, both showing the user what options they have,
|
|
|
107 |
thread = await sent_message.create_thread(name='Image Upscaling Thread')
|
108 |
|
109 |
#4
|
110 |
+
with open(combined_image_path, 'rb') as f:
|
111 |
threadmsg = await thread.send('Here is the combined image. React with the image number you want to upscale!', file=discord.File(f, 'combined_image.png'))
|
112 |
|
113 |
# bot reacts with appropriate emojis to the post, both showing the user what options they have,
|