nrotem commited on
Commit
ba7e3be
·
1 Parent(s): 9eef4b5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ if video_file and subtitle_file:
42
  # Display the combined video
43
  with open(output_filename, "rb") as f:
44
  video_bytes = f.read()
45
- st.video(video_bytes)
46
 
47
  # Provide a link to download the combined video
48
  st.download_button("Download Combined Video", video_bytes, file_name="output_combined.mp4")
 
42
  # Display the combined video
43
  with open(output_filename, "rb") as f:
44
  video_bytes = f.read()
45
+ st.video(video_bytes, format="video/mp4")
46
 
47
  # Provide a link to download the combined video
48
  st.download_button("Download Combined Video", video_bytes, file_name="output_combined.mp4")