spencer commited on
Commit
c4e6a2e
1 Parent(s): d018247

make download condition more strict

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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")