Spaces:
Paused
Paused
P01yH3dr0n
commited on
Commit
•
1b4bd59
1
Parent(s):
ad37ef7
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def generate(prompt, quality_tags, neg_prompt, seed, scale, width, height, steps
|
|
88 |
today_count += 1
|
89 |
img = image_from_bytes(img_data)
|
90 |
|
91 |
-
return img, payload
|
92 |
|
93 |
|
94 |
def preview_ui():
|
|
|
88 |
today_count += 1
|
89 |
img = image_from_bytes(img_data)
|
90 |
|
91 |
+
return gr.Image(value=img, height=height*721//width), payload
|
92 |
|
93 |
|
94 |
def preview_ui():
|