Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,10 @@ if uploaded_video is not None:
|
|
86 |
cap.release()
|
87 |
out.release()
|
88 |
|
89 |
-
#
|
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")
|