Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ with st.sidebar:
|
|
25 |
|
26 |
**Usage Limits**
|
27 |
For each applicant you can upload their resume and request results once (1 request per applicant's resume).
|
28 |
-
At the bottom of the app, you can also upload an applicant's resume once (1 request) to visualize their profile as a treemap chart
|
29 |
|
30 |
**Subscription Management**
|
31 |
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]
|
@@ -134,9 +134,9 @@ if st.session_state['upload_count'] < max_attempts:
|
|
134 |
resume_embedding = model.encode([text_data])
|
135 |
similarity_score = model.similarity(job_embedding, resume_embedding)[0][0]
|
136 |
|
137 |
-
|
138 |
-
st.metric(label="Similarity Score
|
139 |
-
|
140 |
else:
|
141 |
st.warning(f"Maximum upload attempts has been reached ({max_attempts}).")
|
142 |
if 'upload_count' in st.session_state and st.session_state['upload_count'] > 0:
|
|
|
25 |
|
26 |
**Usage Limits**
|
27 |
For each applicant you can upload their resume and request results once (1 request per applicant's resume).
|
28 |
+
At the bottom of the app, you can also upload an applicant's resume once (1 request) to visualize their profile as a treemap chart. If you hover over the interactive graph, an icon will appear to download it.
|
29 |
|
30 |
**Subscription Management**
|
31 |
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]
|
|
|
134 |
resume_embedding = model.encode([text_data])
|
135 |
similarity_score = model.similarity(job_embedding, resume_embedding)[0][0]
|
136 |
|
137 |
+
|
138 |
+
st.metric(label="Similarity Score between Applicant's Profile and Job Description, value=f"{similarity_score:.2f}")
|
139 |
+
|
140 |
else:
|
141 |
st.warning(f"Maximum upload attempts has been reached ({max_attempts}).")
|
142 |
if 'upload_count' in st.session_state and st.session_state['upload_count'] > 0:
|