Spaces:
Running
on
Zero
Running
on
Zero
Fabrice-TIERCELIN
commited on
Commit
•
3a0a47d
1
Parent(s):
88ca775
Display in *.mp4, download in *.avi
Browse files
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
|