mrneuralnet commited on
Commit
4904115
·
1 Parent(s): 9824636

Modify filepicker

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,9 +24,9 @@ def main():
24
  st.markdown("###")
25
  uploaded_file = st.file_uploader('Upload a picture', type=['mp4', 'jpg', 'jpeg', 'png'], accept_multiple_files=False)
26
 
27
- time.sleep(2)
28
  st.markdown("### or")
29
- selected_file = st_file_selector(st, path='.\sample_files', key = 'selected', label = 'Choose a sample image/video')
30
 
31
  if uploaded_file:
32
  random_id = uuid.uuid1()
 
24
  st.markdown("###")
25
  uploaded_file = st.file_uploader('Upload a picture', type=['mp4', 'jpg', 'jpeg', 'png'], accept_multiple_files=False)
26
 
27
+ time.sleep(7)
28
  st.markdown("### or")
29
+ selected_file = st_file_selector(st, path='sample_files', key = 'selected', label = 'Choose a sample image/video')
30
 
31
  if uploaded_file:
32
  random_id = uuid.uuid1()