Spaces:
Paused
Paused
Commit
·
3151139
1
Parent(s):
967c482
draft.py
CHANGED
@@ -20,7 +20,7 @@ with block:
|
|
20 |
with gr.Column():
|
21 |
prompt = gr.Textbox(label="Prompt", value='a handsome man in forest')
|
22 |
run_button = gr.Button(label="Run")
|
23 |
-
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery", height=
|
24 |
run_button.click(fn=generate_clicked, inputs=[prompt], outputs=[result_gallery])
|
25 |
|
26 |
|
|
|
20 |
with gr.Column():
|
21 |
prompt = gr.Textbox(label="Prompt", value='a handsome man in forest')
|
22 |
run_button = gr.Button(label="Run")
|
23 |
+
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery", height='auto')
|
24 |
run_button.click(fn=generate_clicked, inputs=[prompt], outputs=[result_gallery])
|
25 |
|
26 |
|