annapurnapadmaprema-ji commited on
Commit
2a3d0b1
·
verified ·
1 Parent(s): ffea17c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -86,7 +86,10 @@ if uploaded_video is not None:
86
  cap.release()
87
  out.release()
88
 
89
- # Provide a download link for the colorized video
90
  st.success("Video colorization completed!")
 
 
 
91
  with open(output_path, "rb") as file:
92
  st.download_button(label="Download Colorized Video", data=file, file_name="colorized_video.mp4", mime="video/mp4")
 
86
  cap.release()
87
  out.release()
88
 
89
+ # Display the colorized video
90
  st.success("Video colorization completed!")
91
+ st.video(output_path)
92
+
93
+ # Provide a download link for the colorized video
94
  with open(output_path, "rb") as file:
95
  st.download_button(label="Download Colorized Video", data=file, file_name="colorized_video.mp4", mime="video/mp4")