EvanTHU commited on
Commit
d88f40d
·
verified ·
1 Parent(s): 1b501ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, video_dis, video_dis, video_dis, style_dis, video_dis, gr.update(visible=True)
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), 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
  )