nlpblogs commited on
Commit
c81bb04
·
verified ·
1 Parent(s): e2b4eda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 as well as the results in a matrix heatmap. If you hover over the interactive graphs, an icon will appear to download them.
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
- st.subheader("Similarity between Applicant's Profile and Job Description", divider = "orange")
138
- st.metric(label="Similarity Score", value=f"{similarity_score:.2f}")
139
- st.plotly_chart(fig, key="figure 2")
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: