Update app.py
Browse files
app.py
CHANGED
@@ -112,8 +112,8 @@ if 'upload_count' not in st.session_state:
|
|
112 |
max_attempts = 3
|
113 |
if st.session_state['upload_count'] < max_attempts:
|
114 |
uploaded_files = st.file_uploader("Upload Applicant's resume", type="pdf", key = "applicant 1")
|
115 |
-
|
116 |
-
|
117 |
|
118 |
with st.spinner("Wait for it...", show_time=True):
|
119 |
time.sleep(2)
|
|
|
112 |
max_attempts = 3
|
113 |
if st.session_state['upload_count'] < max_attempts:
|
114 |
uploaded_files = st.file_uploader("Upload Applicant's resume", type="pdf", key = "applicant 1")
|
115 |
+
if uploaded_files:
|
116 |
+
st.session_state['upload_count'] += 1
|
117 |
|
118 |
with st.spinner("Wait for it...", show_time=True):
|
119 |
time.sleep(2)
|