Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ job = pd.Series(st.text_area("Paste the job description and then press Ctrl + En
|
|
51 |
if 'applicant_data' not in st.session_state:
|
52 |
st.session_state['applicant_data'] = {}
|
53 |
|
54 |
-
max_attempts =
|
55 |
|
56 |
for i in range(1, 51): # Looping for 2 applicants
|
57 |
st.subheader(f"Applicant {i} Resume", divider="green")
|
@@ -144,7 +144,7 @@ if st.session_state['upload_count'] < max_attempts:
|
|
144 |
y=['Resume', 'Job Description'])
|
145 |
st.plotly_chart(fig, key="figure 2")
|
146 |
else:
|
147 |
-
st.warning(f"
|
148 |
if 'upload_count' in st.session_state and st.session_state['upload_count'] > 0:
|
149 |
st.info(f"Files uploaded {st.session_state['upload_count']} time(s).")
|
150 |
|
|
|
51 |
if 'applicant_data' not in st.session_state:
|
52 |
st.session_state['applicant_data'] = {}
|
53 |
|
54 |
+
max_attempts = 1
|
55 |
|
56 |
for i in range(1, 51): # Looping for 2 applicants
|
57 |
st.subheader(f"Applicant {i} Resume", divider="green")
|
|
|
144 |
y=['Resume', 'Job Description'])
|
145 |
st.plotly_chart(fig, key="figure 2")
|
146 |
else:
|
147 |
+
st.warning(f"Maximum upload attempts has been reached ({max_attempts}).")
|
148 |
if 'upload_count' in st.session_state and st.session_state['upload_count'] > 0:
|
149 |
st.info(f"Files uploaded {st.session_state['upload_count']} time(s).")
|
150 |
|