Update app.py
Browse files
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 |
-
|
38 |
-
image =
|
39 |
-
|
|
|
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(
|