Commit
·
0b091b4
1
Parent(s):
44f3ce5
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='
|
| 24 |
object_fit='contain', height=768)
|
| 25 |
run_button.click(fn=generate_clicked, inputs=[prompt], outputs=[result_gallery])
|
| 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='Fooocus', show_label=True, elem_id="gallery",
|
| 24 |
object_fit='contain', height=768)
|
| 25 |
run_button.click(fn=generate_clicked, inputs=[prompt], outputs=[result_gallery])
|
| 26 |
|