make download condition more strict
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ with col1:
|
|
| 27 |
with col2:
|
| 28 |
st.video(url)
|
| 29 |
|
| 30 |
-
if not os.path.exists(f"{video_id}"):
|
| 31 |
st.write("Video not found locally. Downloading may take several minutes. Continue?")
|
| 32 |
|
| 33 |
click = st.button("Download")
|
|
|
|
| 27 |
with col2:
|
| 28 |
st.video(url)
|
| 29 |
|
| 30 |
+
if not os.path.exists(f"{video_id}/history.txt"):
|
| 31 |
st.write("Video not found locally. Downloading may take several minutes. Continue?")
|
| 32 |
|
| 33 |
click = st.button("Download")
|