Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -45,6 +45,9 @@ async def generate_command(
|
|
45 |
person_generation="allow_adult",
|
46 |
aspect_ratio=aspect_ratio,
|
47 |
)
|
|
|
|
|
|
|
48 |
files = []
|
49 |
for i, image in enumerate(result.generated_images):
|
50 |
# Assuming `image` is a byte array or binary stream of the image
|
|
|
45 |
person_generation="allow_adult",
|
46 |
aspect_ratio=aspect_ratio,
|
47 |
)
|
48 |
+
|
49 |
+
if result:
|
50 |
+
await interaction.followup.send(content=f"Successful request!")
|
51 |
files = []
|
52 |
for i, image in enumerate(result.generated_images):
|
53 |
# Assuming `image` is a byte array or binary stream of the image
|