Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ submit = st.button("Submit")
|
|
35 |
# Define start function
|
36 |
def start():
|
37 |
if st.session_state.resume_data and st.session_state.jobdescription:
|
38 |
-
st.subheader("
|
39 |
|
40 |
# Calculate ATS scores and store them in the resumes
|
41 |
for resume in st.session_state.resume_data:
|
@@ -60,7 +60,7 @@ def start():
|
|
60 |
|
61 |
# Display the results
|
62 |
for rank, resume in enumerate(sorted_resumes, 1):
|
63 |
-
st.write(f"
|
64 |
st.write(f"**ATS Score:** {int(resume['ATS_score']*100)}%")
|
65 |
st.write(f"**Summary:** {resume['model_feedback']}")
|
66 |
st.write(f"**Ranking:** {rank}")
|
|
|
35 |
# Define start function
|
36 |
def start():
|
37 |
if st.session_state.resume_data and st.session_state.jobdescription:
|
38 |
+
st.subheader("Top Matches:")
|
39 |
|
40 |
# Calculate ATS scores and store them in the resumes
|
41 |
for resume in st.session_state.resume_data:
|
|
|
60 |
|
61 |
# Display the results
|
62 |
for rank, resume in enumerate(sorted_resumes, 1):
|
63 |
+
st.write(f"## Resume: {resume['name']}")
|
64 |
st.write(f"**ATS Score:** {int(resume['ATS_score']*100)}%")
|
65 |
st.write(f"**Summary:** {resume['model_feedback']}")
|
66 |
st.write(f"**Ranking:** {rank}")
|