artintel235 commited on
Commit
9e73c54
·
verified ·
1 Parent(s): d7eef58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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