Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ st.header("Smart City Cars and Bikes detection")
|
|
6 |
st.markdown("Upload a video or select the example")
|
7 |
|
8 |
## Select video to inference
|
9 |
-
file_video = st.
|
10 |
example = open("test_video.mp4")
|
11 |
st.video(example, width=250)
|
12 |
if st.button("example"):
|
@@ -26,6 +26,7 @@ if file_video is not None:
|
|
26 |
with col2:
|
27 |
st.subheader("Output: ")
|
28 |
st.video(output)
|
|
|
29 |
|
30 |
|
31 |
|
|
|
6 |
st.markdown("Upload a video or select the example")
|
7 |
|
8 |
## Select video to inference
|
9 |
+
file_video = st.file_uploader(" Upload a video ", type=["mp4"])
|
10 |
example = open("test_video.mp4")
|
11 |
st.video(example, width=250)
|
12 |
if st.button("example"):
|
|
|
26 |
with col2:
|
27 |
st.subheader("Output: ")
|
28 |
st.video(output)
|
29 |
+
st.download_button("Download", output)
|
30 |
|
31 |
|
32 |
|