Spaces:
Paused
Paused
daquanzhou
commited on
Commit
·
f328d0c
1
Parent(s):
c297af0
adjust layour
Browse files
app.py
CHANGED
|
@@ -555,18 +555,22 @@ def ui():
|
|
| 555 |
seed_button = gr.Button(value="\U0001F3B2", elem_classes="toolbutton")
|
| 556 |
seed_button.click(fn=lambda: gr.Textbox.update(value=random.randint(1, 1e16)), inputs=[], outputs=[seed_textbox])
|
| 557 |
|
| 558 |
-
|
| 559 |
|
| 560 |
with gr.Column():
|
| 561 |
-
orig_video = gr.Video( label="Video after T2I VCD", interactive=False )
|
| 562 |
-
face_detailer_video = gr.Video( label="Video after Face VCD", interactive=False )
|
| 563 |
-
sr_video = gr.Video( label="Video after Tiled VCD", interactive=False )
|
| 564 |
json_config = gr.Json(label="Config", value=None )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 565 |
|
| 566 |
-
|
| 567 |
-
|
| 568 |
-
|
| 569 |
-
|
| 570 |
|
| 571 |
# gr.Examples( fn=c.run_once, examples=examples, inputs=inputs, outputs=outputs, cache_examples=True )
|
| 572 |
|
|
|
|
| 555 |
seed_button = gr.Button(value="\U0001F3B2", elem_classes="toolbutton")
|
| 556 |
seed_button.click(fn=lambda: gr.Textbox.update(value=random.randint(1, 1e16)), inputs=[], outputs=[seed_textbox])
|
| 557 |
|
| 558 |
+
|
| 559 |
|
| 560 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
| 561 |
json_config = gr.Json(label="Config", value=None )
|
| 562 |
+
|
| 563 |
+
generate_button = gr.Button( value="Generate", variant='primary' )
|
| 564 |
+
|
| 565 |
+
with gr.Column():
|
| 566 |
+
orig_video = gr.Video( label="Video after T2I VCD", interactive=False )
|
| 567 |
+
face_detailer_video = gr.Video( label="Video after Face VCD", interactive=False )
|
| 568 |
+
sr_video = gr.Video( label="Video after Tiled VCD", interactive=False )
|
| 569 |
|
| 570 |
+
inputs = [prompt_textbox, negative_prompt_textbox, id_embed_dropdown, gaussian_slider, seed_textbox]
|
| 571 |
+
outputs = [orig_video, face_detailer_video, sr_video, json_config]
|
| 572 |
+
|
| 573 |
+
generate_button.click( fn=c.run_once, inputs=inputs, outputs=outputs )
|
| 574 |
|
| 575 |
# gr.Examples( fn=c.run_once, examples=examples, inputs=inputs, outputs=outputs, cache_examples=True )
|
| 576 |
|