Spaces:
Runtime error
Runtime error
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")
|