Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -12
src/streamlit_app.py
CHANGED
@@ -59,29 +59,20 @@ col1, col2, col3 = st.columns(3)
|
|
59 |
with col1:
|
60 |
st.markdown("**Input Video 1**", unsafe_allow_html=True)
|
61 |
if exists_1:
|
62 |
-
|
63 |
-
<video autoplay loop muted playsinline width="100%">
|
64 |
-
<source src="{video_input1}" type="video/mp4">
|
65 |
-
</video>""", unsafe_allow_html=True)
|
66 |
else:
|
67 |
st.error("Video 1 not found")
|
68 |
|
69 |
with col2:
|
70 |
st.markdown("**Interpolated Video**", unsafe_allow_html=True)
|
71 |
if exists_interp:
|
72 |
-
|
73 |
-
<video autoplay loop muted playsinline width="100%">
|
74 |
-
<source src="{video_interp}" type="video/mp4">
|
75 |
-
</video>""", unsafe_allow_html=True)
|
76 |
else:
|
77 |
st.error("Interpolated video not found")
|
78 |
|
79 |
with col3:
|
80 |
st.markdown("**Input Video 2**", unsafe_allow_html=True)
|
81 |
if exists_2:
|
82 |
-
|
83 |
-
<video autoplay loop muted playsinline width="100%">
|
84 |
-
<source src="{video_input2}" type="video/mp4">
|
85 |
-
</video>""", unsafe_allow_html=True)
|
86 |
else:
|
87 |
st.error("Video 2 not found")
|
|
|
59 |
with col1:
|
60 |
st.markdown("**Input Video 1**", unsafe_allow_html=True)
|
61 |
if exists_1:
|
62 |
+
st.video(video_input1)
|
|
|
|
|
|
|
63 |
else:
|
64 |
st.error("Video 1 not found")
|
65 |
|
66 |
with col2:
|
67 |
st.markdown("**Interpolated Video**", unsafe_allow_html=True)
|
68 |
if exists_interp:
|
69 |
+
st.video(video_interp)
|
|
|
|
|
|
|
70 |
else:
|
71 |
st.error("Interpolated video not found")
|
72 |
|
73 |
with col3:
|
74 |
st.markdown("**Input Video 2**", unsafe_allow_html=True)
|
75 |
if exists_2:
|
76 |
+
st.video(video_input2)
|
|
|
|
|
|
|
77 |
else:
|
78 |
st.error("Video 2 not found")
|