ysharma HF staff commited on
Commit
ff3cb33
·
verified ·
1 Parent(s): 616fd80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -199,7 +199,7 @@ def generate_video_from_text(text, opt, pipeline):
199
  style_dis = video_dis + """<br> <p align="center"> Content Reference </p>"""
200
  global edit_config
201
  edit_config = set_all_use_to_false(edit_config)
202
- return video_dis, style_dis, video_dis, gr.update(visible=True)
203
 
204
  @spaces.GPU
205
  def reweighting(text, idx, weight, opt, pipeline):
@@ -478,7 +478,7 @@ def main():
478
  generate_button = gr.Button("Generate motion")
479
 
480
  with gr.Row():
481
- video_display = gr.HTML(label="生成的视频", visible=True)
482
 
483
 
484
  tabs = gr.Tabs(visible=True)
 
199
  style_dis = video_dis + """<br> <p align="center"> Content Reference </p>"""
200
  global edit_config
201
  edit_config = set_all_use_to_false(edit_config)
202
+ return save_path, style_dis, video_dis, gr.update(visible=True)
203
 
204
  @spaces.GPU
205
  def reweighting(text, idx, weight, opt, pipeline):
 
478
  generate_button = gr.Button("Generate motion")
479
 
480
  with gr.Row():
481
+ video_display = gr.Video() #gr.HTML(label="生成的视频", visible=True)
482
 
483
 
484
  tabs = gr.Tabs(visible=True)