Fabrice-TIERCELIN commited on
Commit
3a0a47d
1 Parent(s): 88ca775

Display in *.mp4, download in *.avi

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def animate(
94
 
95
  return [
96
  # Display for video
97
- gr.update(value = video_path, format = video_format if video_format != "gif" else None, visible=video_format != "gif"),
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