Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|