evelynsaltt commited on
Commit
7ecae88
·
verified ·
1 Parent(s): 3672275

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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
- st.markdown(f"""
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
- st.markdown(f"""
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
- st.markdown(f"""
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")