i
This commit is contained in:
parent
f91af9cbdd
commit
e8a287debb
2
webui.py
2
webui.py
@ -11,7 +11,7 @@ with block:
|
||||
with gr.Column():
|
||||
prompt = gr.Textbox(label="Prompt", value='a handsome man in forest')
|
||||
run_button = gr.Button(label="Run")
|
||||
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery", height=700)
|
||||
result_gallery = gr.Gallery(label='Output', show_label=False, elem_id="gallery", height=1280)
|
||||
run_button.click(fn=generate_clicked, inputs=[prompt], outputs=[result_gallery])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user