Update app.py
Browse files
app.py
CHANGED
@@ -19,10 +19,11 @@ with st.sidebar:
|
|
19 |
This app accepts files in .pdf formats.
|
20 |
|
21 |
**How to Use**
|
22 |
-
Paste the job description first. Then, upload the resume of each applicant to retrieve the results.
|
23 |
|
24 |
**Usage Limits**
|
25 |
-
You can request results up to
|
|
|
26 |
|
27 |
**Subscription Management**
|
28 |
This demo app offers a one-day subscription, expiring after 24 hours. If you are interested in building your own AI Resume Analysis based on Keywords Web App, we invite you to explore our NLP Web App Store on our website. You can select your desired features, place your order, and we will deliver your custom app within five business days. If you wish to delete your Account with us, please contact us at [email protected]
|
@@ -50,7 +51,7 @@ job = pd.Series(st.text_area("Paste the job description and then press Ctrl + En
|
|
50 |
if 'applicant_data' not in st.session_state:
|
51 |
st.session_state['applicant_data'] = {}
|
52 |
|
53 |
-
max_attempts =
|
54 |
|
55 |
for i in range(1, 51): # Looping for 2 applicants
|
56 |
st.subheader(f"Applicant {i} Resume", divider="green")
|
@@ -94,7 +95,7 @@ for i in range(1, 51): # Looping for 2 applicants
|
|
94 |
st.session_state['applicant_data'][applicant_key]['analysis_done'] = True
|
95 |
|
96 |
else:
|
97 |
-
st.warning(f"
|
98 |
if st.session_state['applicant_data'][applicant_key]['upload_count'] > 0:
|
99 |
st.info(f"Files uploaded for Applicant {i}: {st.session_state['applicant_data'][applicant_key]['upload_count']} time(s).")
|
100 |
|
@@ -107,7 +108,7 @@ st.subheader("Visualise", divider="blue")
|
|
107 |
|
108 |
if 'upload_count' not in st.session_state:
|
109 |
st.session_state['upload_count'] = 0
|
110 |
-
max_attempts =
|
111 |
|
112 |
if st.session_state['upload_count'] < max_attempts:
|
113 |
uploaded_files = st.file_uploader("Upload Applicant's resume", type="pdf", key="applicant 1")
|
|
|
19 |
This app accepts files in .pdf formats.
|
20 |
|
21 |
**How to Use**
|
22 |
+
Paste the job description first. Then, upload the resume of each applicant to retrieve the results.
|
23 |
|
24 |
**Usage Limits**
|
25 |
+
You can request results up to 50 times in total.
|
26 |
+
At the bottom of the app, you can also upload (up to 50 times) each applicant's resume to visualize their profile as a treemap chart as well as the results in a matrix heatmap.
|
27 |
|
28 |
**Subscription Management**
|
29 |
This demo app offers a one-day subscription, expiring after 24 hours. If you are interested in building your own AI Resume Analysis based on Keywords Web App, we invite you to explore our NLP Web App Store on our website. You can select your desired features, place your order, and we will deliver your custom app within five business days. If you wish to delete your Account with us, please contact us at [email protected]
|
|
|
51 |
if 'applicant_data' not in st.session_state:
|
52 |
st.session_state['applicant_data'] = {}
|
53 |
|
54 |
+
max_attempts = 50
|
55 |
|
56 |
for i in range(1, 51): # Looping for 2 applicants
|
57 |
st.subheader(f"Applicant {i} Resume", divider="green")
|
|
|
95 |
st.session_state['applicant_data'][applicant_key]['analysis_done'] = True
|
96 |
|
97 |
else:
|
98 |
+
st.warning(f"Maximum upload attempts has been reached ({max_attempts}).")
|
99 |
if st.session_state['applicant_data'][applicant_key]['upload_count'] > 0:
|
100 |
st.info(f"Files uploaded for Applicant {i}: {st.session_state['applicant_data'][applicant_key]['upload_count']} time(s).")
|
101 |
|
|
|
108 |
|
109 |
if 'upload_count' not in st.session_state:
|
110 |
st.session_state['upload_count'] = 0
|
111 |
+
max_attempts = 1
|
112 |
|
113 |
if st.session_state['upload_count'] < max_attempts:
|
114 |
uploaded_files = st.file_uploader("Upload Applicant's resume", type="pdf", key="applicant 1")
|