Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,13 +90,15 @@ with gr.Blocks() as demo:
|
|
| 90 |
model,
|
| 91 |
seed,
|
| 92 |
]
|
| 93 |
-
|
| 94 |
|
| 95 |
generate_button = gr.Button("Generate Image")
|
| 96 |
|
| 97 |
with gr.Column():
|
| 98 |
gallery = gr.Gallery(label="Generated Images", columns=4, rows=3, object_fit="contain", height="auto")
|
| 99 |
|
|
|
|
|
|
|
| 100 |
gr.on(
|
| 101 |
triggers=[
|
| 102 |
# prompt.submit,
|
|
|
|
| 90 |
model,
|
| 91 |
seed,
|
| 92 |
]
|
| 93 |
+
|
| 94 |
|
| 95 |
generate_button = gr.Button("Generate Image")
|
| 96 |
|
| 97 |
with gr.Column():
|
| 98 |
gallery = gr.Gallery(label="Generated Images", columns=4, rows=3, object_fit="contain", height="auto")
|
| 99 |
|
| 100 |
+
outputs = [gallery]
|
| 101 |
+
|
| 102 |
gr.on(
|
| 103 |
triggers=[
|
| 104 |
# prompt.submit,
|