Spaces:
Runtime error
Runtime error
Downgrade streamlit version
Browse files- app.py +1 -1
- requirements.txt +0 -1
app.py
CHANGED
@@ -40,7 +40,7 @@ uploaded_photos = st.file_uploader(label="Upload photos", type=[
|
|
40 |
photos_empty = True if len(uploaded_photos) == 0 else False
|
41 |
|
42 |
is_clicked = st.button(label='Predict Personality',
|
43 |
-
disabled=photos_empty
|
44 |
|
45 |
if is_clicked:
|
46 |
with st.spinner('Please wait...'):
|
|
|
40 |
photos_empty = True if len(uploaded_photos) == 0 else False
|
41 |
|
42 |
is_clicked = st.button(label='Predict Personality',
|
43 |
+
disabled=photos_empty)
|
44 |
|
45 |
if is_clicked:
|
46 |
with st.spinner('Please wait...'):
|
requirements.txt
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
opencv-python
|
2 |
fastai
|
3 |
-
streamlit>=1.15.0
|
4 |
|
5 |
# YOLOv5 π requirements
|
6 |
|
|
|
1 |
opencv-python
|
2 |
fastai
|
|
|
3 |
|
4 |
# YOLOv5 π requirements
|
5 |
|