Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ async def generate_command(
|
|
70 |
await interaction.response.defer()
|
71 |
|
72 |
image_url_or_error = await generate_image_async(prompt, aspect_ratio.value)
|
73 |
-
await interaction.response.send_message(f"Error:{image_url_or_error}")
|
74 |
if image_url_or_error.startswith("http"):
|
75 |
await interaction.followup.send(
|
76 |
f"Here's your generated image based on the prompt '{prompt}' with aspect ratio {aspect_ratio.name}:\n{image_url_or_error}"
|
|
|
70 |
await interaction.response.defer()
|
71 |
|
72 |
image_url_or_error = await generate_image_async(prompt, aspect_ratio.value)
|
73 |
+
# await interaction.response.send_message(f"Error:{image_url_or_error}")
|
74 |
if image_url_or_error.startswith("http"):
|
75 |
await interaction.followup.send(
|
76 |
f"Here's your generated image based on the prompt '{prompt}' with aspect ratio {aspect_ratio.name}:\n{image_url_or_error}"
|