Spaces:
Paused
Paused
P01yH3dr0n
commited on
Commit
•
f0a3fb6
1
Parent(s):
b94b459
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def generate(prompt, quality_tags, neg_prompt, seed, scale, width, height, steps
|
|
113 |
|
114 |
def preview_ui():
|
115 |
with gr.Blocks(css='#preview_image { height: 100%;}'):
|
116 |
-
image = gr.
|
117 |
info = gr.JSON(value={}, label="Submitted Payload")
|
118 |
return image, info
|
119 |
|
|
|
113 |
|
114 |
def preview_ui():
|
115 |
with gr.Blocks(css='#preview_image { height: 100%;}'):
|
116 |
+
image = gr.Gallery(elem_id='preview_image', interactive=False, type='pil')
|
117 |
info = gr.JSON(value={}, label="Submitted Payload")
|
118 |
return image, info
|
119 |
|