Flourish commited on
Commit
b5fb13c
·
verified ·
1 Parent(s): 7fd9cc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -34,9 +34,10 @@ def generate(prompt, steps=50, guidance_scale=7.5, height=768, width=512):
34
  width=width,
35
  seed=0
36
  )
37
- image = output['images'][0]
38
- image = Image.fromarray(image)
39
- return image
 
40
 
41
  with gr.Blocks(title="🔥 CHATS-SDXL Demo") as demo:
42
  gr.Markdown(
 
34
  width=width,
35
  seed=0
36
  )
37
+ return output['images']
38
+ # image = output['images'][0]
39
+ # image = Image.fromarray(image)
40
+ # return image
41
 
42
  with gr.Blocks(title="🔥 CHATS-SDXL Demo") as demo:
43
  gr.Markdown(