amazonaws-sp commited on
Commit
87d3aad
1 Parent(s): 4d9c8e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -104,8 +104,8 @@ def generate(
104
  num_inference_steps=num_inference_steps_base,
105
  generator=generator,
106
  output_type="pil",
107
- ).images
108
- return image
109
 
110
  examples = [
111
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
 
104
  num_inference_steps=num_inference_steps_base,
105
  generator=generator,
106
  output_type="pil",
107
+ ).images[0]
108
+ return images
109
 
110
  examples = [
111
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",