Spaces:
Runtime error
Runtime error
Prudvireddy
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ examples = [os.path.join('results', i) for i in example_paths]
|
|
77 |
st.sidebar.markdown('<div class="example-video-container">', unsafe_allow_html=True)
|
78 |
for video_url in examples:
|
79 |
print(video_url)
|
80 |
-
title = video_url.split('
|
81 |
st.sidebar.text(f"input: {title}")
|
82 |
st.sidebar.video(video_url, format="video/mp4", start_time=0)
|
83 |
st.sidebar.markdown("</div>", unsafe_allow_html=True)
|
|
|
77 |
st.sidebar.markdown('<div class="example-video-container">', unsafe_allow_html=True)
|
78 |
for video_url in examples:
|
79 |
print(video_url)
|
80 |
+
title = video_url.split('/')[1].split('.')[0]
|
81 |
st.sidebar.text(f"input: {title}")
|
82 |
st.sidebar.video(video_url, format="video/mp4", start_time=0)
|
83 |
st.sidebar.markdown("</div>", unsafe_allow_html=True)
|