Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -165,7 +165,7 @@ def generate_video_from_text(text, opt, pipeline):
|
|
| 165 |
style_dis = video_dis + """<br> <p align="center"> Content Reference </p>"""
|
| 166 |
global edit_config
|
| 167 |
edit_config = set_all_use_to_false(edit_config)
|
| 168 |
-
return video_dis,
|
| 169 |
|
| 170 |
@spaces.GPU
|
| 171 |
def reweighting(text, idx, weight, opt, pipeline):
|
|
@@ -533,7 +533,7 @@ def main():
|
|
| 533 |
)
|
| 534 |
|
| 535 |
generate_button.click(
|
| 536 |
-
fn=lambda: [gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
| 537 |
inputs=None,
|
| 538 |
outputs=[video_display, original_video1, original_video4]
|
| 539 |
)
|
|
|
|
| 165 |
style_dis = video_dis + """<br> <p align="center"> Content Reference </p>"""
|
| 166 |
global edit_config
|
| 167 |
edit_config = set_all_use_to_false(edit_config)
|
| 168 |
+
return video_dis, style_dis, video_dis, gr.update(visible=True)
|
| 169 |
|
| 170 |
@spaces.GPU
|
| 171 |
def reweighting(text, idx, weight, opt, pipeline):
|
|
|
|
| 533 |
)
|
| 534 |
|
| 535 |
generate_button.click(
|
| 536 |
+
fn=lambda: [gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)],
|
| 537 |
inputs=None,
|
| 538 |
outputs=[video_display, original_video1, original_video4]
|
| 539 |
)
|