EvanTHU commited on
Commit
8275a9b
·
verified ·
1 Parent(s): fafa3a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -216,8 +216,6 @@ def generate_video_from_text(text, opt, pipeline):
216
 
217
  video_dis = f'<img src="/gradio_api/file={save_path}" width="{width}" style="display: block; margin: 0 auto;">'
218
  style_dis = video_dis
219
- global edit_config
220
- edit_config = set_all_use_to_false(edit_config)
221
  return video_dis, style_dis, video_dis, gr.update(visible=True)
222
 
223
  @spaces.GPU
 
216
 
217
  video_dis = f'<img src="/gradio_api/file={save_path}" width="{width}" style="display: block; margin: 0 auto;">'
218
  style_dis = video_dis
 
 
219
  return video_dis, style_dis, video_dis, gr.update(visible=True)
220
 
221
  @spaces.GPU