Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -518,7 +518,8 @@ def main():
|
|
518 |
outputs=edited_video,
|
519 |
)
|
520 |
|
521 |
-
|
|
|
522 |
with gr.Row():
|
523 |
with gr.Column(scale=4):
|
524 |
chunk_size = gr.Number(minimum=10, maximum=20, step=10,label="Chunk size (#frames)", value=20)
|
@@ -545,7 +546,8 @@ def main():
|
|
545 |
outputs=example_video_display
|
546 |
)
|
547 |
|
548 |
-
|
|
|
549 |
with gr.Row():
|
550 |
style_text = gr.Textbox(label="Reference prompt (e.g. 'a man walks.')", value="a man walks.")
|
551 |
style_transfer_steps_end = gr.Number(label="The end step of diffusion (0~9)", minimum=0, maximum=9, value=5)
|
|
|
518 |
outputs=edited_video,
|
519 |
)
|
520 |
|
521 |
+
exp_tab = gr.Tab("Example-based motion genration", visible=False)
|
522 |
+
with exp_tab:
|
523 |
with gr.Row():
|
524 |
with gr.Column(scale=4):
|
525 |
chunk_size = gr.Number(minimum=10, maximum=20, step=10,label="Chunk size (#frames)", value=20)
|
|
|
546 |
outputs=example_video_display
|
547 |
)
|
548 |
|
549 |
+
trans_tab = gr.Tab("Style transfer", visible=False)
|
550 |
+
with trans_tab:
|
551 |
with gr.Row():
|
552 |
style_text = gr.Textbox(label="Reference prompt (e.g. 'a man walks.')", value="a man walks.")
|
553 |
style_transfer_steps_end = gr.Number(label="The end step of diffusion (0~9)", minimum=0, maximum=9, value=5)
|