alexrods commited on
Commit
b0d17a8
·
1 Parent(s): a8a2995

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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(output_bytes, format="video/mp4")
39
- st.download_button("Download", output_bytes, file_name="output_video.mp4", mime="video/mp4")
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