Staticaliza commited on
Commit
035ae32
·
verified ·
1 Parent(s): ccffda1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -60,10 +60,8 @@ def generate(input=DEFAULT_INPUT, negative_input=DEFAULT_NEGATIVE_INPUT, height=
60
  "output_type":"pil",
61
  }
62
 
63
- images = model(**parameters).images
64
- print(images)
65
- image_paths = [save_image(img) for img in images]
66
- return image_paths
67
 
68
  # Initialize
69
  with gr.Blocks() as main:
 
60
  "output_type":"pil",
61
  }
62
 
63
+ image = model(**parameters).images[0]
64
+ return image
 
 
65
 
66
  # Initialize
67
  with gr.Blocks() as main: