Spaces:
Running
on
Zero
Running
on
Zero
Display in *.mp4, download in *.avi
#34
by
Fabrice-TIERCELIN
- opened
app.py
CHANGED
@@ -94,7 +94,7 @@ def animate(
|
|
94 |
|
95 |
return [
|
96 |
# Display for video
|
97 |
-
gr.update(value = video_path,
|
98 |
# Display for gif
|
99 |
gr.update(value = gif_path, visible = video_format == "gif"),
|
100 |
# Download button
|
|
|
94 |
|
95 |
return [
|
96 |
# Display for video
|
97 |
+
gr.update(value = video_path, visible=video_format != "gif"),
|
98 |
# Display for gif
|
99 |
gr.update(value = gif_path, visible = video_format == "gif"),
|
100 |
# Download button
|