Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -500,7 +500,8 @@ def main():
|
|
| 500 |
|
| 501 |
tabs = gr.Tabs(visible=False)
|
| 502 |
with tabs:
|
| 503 |
-
|
|
|
|
| 504 |
with gr.Row():
|
| 505 |
int_input = gr.Number(label="Editing word index", minimum=0, maximum=70)
|
| 506 |
weight_input = gr.Slider(minimum=-1, maximum=1, step=0.01, label="Input weight for (de-)emphasizing [-1, 1]", value=0)
|
|
@@ -583,9 +584,9 @@ def main():
|
|
| 583 |
)
|
| 584 |
|
| 585 |
generate_button.click(
|
| 586 |
-
fn=lambda: [gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)],
|
| 587 |
inputs=None,
|
| 588 |
-
outputs=[video_display, original_video1, original_video4]
|
| 589 |
)
|
| 590 |
|
| 591 |
demo.launch()
|
|
|
|
| 500 |
|
| 501 |
tabs = gr.Tabs(visible=False)
|
| 502 |
with tabs:
|
| 503 |
+
emph_tab = gr.Tab("Motion (de-)emphasizing", visible=False)
|
| 504 |
+
with emph_tab:
|
| 505 |
with gr.Row():
|
| 506 |
int_input = gr.Number(label="Editing word index", minimum=0, maximum=70)
|
| 507 |
weight_input = gr.Slider(minimum=-1, maximum=1, step=0.01, label="Input weight for (de-)emphasizing [-1, 1]", value=0)
|
|
|
|
| 584 |
)
|
| 585 |
|
| 586 |
generate_button.click(
|
| 587 |
+
fn=lambda: [gr.update(visible=True), gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)],
|
| 588 |
inputs=None,
|
| 589 |
+
outputs=[video_display, original_video1, original_video4, emph_tab]
|
| 590 |
)
|
| 591 |
|
| 592 |
demo.launch()
|