Update app.py
Browse files
app.py
CHANGED
@@ -33,10 +33,10 @@ if file_video is not None:
|
|
33 |
st.video(video_bytes, format="video/mp4")
|
34 |
with col2:
|
35 |
st.subheader("Output: ")
|
36 |
-
output_video = open(output, "rb")
|
37 |
-
output_bytes = output_video.read()
|
38 |
-
st.video(
|
39 |
-
st.download_button("Download",
|
40 |
|
41 |
|
42 |
|
|
|
33 |
st.video(video_bytes, format="video/mp4")
|
34 |
with col2:
|
35 |
st.subheader("Output: ")
|
36 |
+
# output_video = open(output, "rb")
|
37 |
+
# output_bytes = output_video.read()
|
38 |
+
st.video(output, format="video/mp4")
|
39 |
+
st.download_button("Download", output, file_name="output_video.mp4", mime="video/mp4")
|
40 |
|
41 |
|
42 |
|