Trista Yao commited on
Commit
7c2f6fa
·
1 Parent(s): e2bc856

add resume example text

Browse files
Files changed (1) hide show
  1. app.py +35 -2
app.py CHANGED
@@ -1,4 +1,37 @@
1
  import streamlit as st
2
 
3
- x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
 
3
+ st.set_page_config(page_title="Resume Refinement Tool", layout="wide")
4
+
5
+ st.title("Resume Refinement Tool")
6
+ st.write("Optimize your resume for specific job descriptions")
7
+
8
+ col1, col2 = st.columns(2)
9
+
10
+ with col1:
11
+ st.header("Inputs")
12
+ resume_text = st.text_area(
13
+ "Paste your resume work experience here",
14
+ height=300,
15
+ placeholder="Describe your work experience..."
16
+ )
17
+
18
+ job_description = st.text_area(
19
+ "Paste the job description here",
20
+ height=300,
21
+ placeholder="Paste the job requirements..."
22
+ )
23
+
24
+ if st.button("Refine Resume", type="primary"):
25
+ # Here you would call your model
26
+ refined_resume = "This would be the refined resume after model processing"
27
+ similarity_score = 0.85 # Example score
28
+
29
+ with col2:
30
+ st.header("Results")
31
+ st.metric("JD Similarity Score", f"{similarity_score:.2f}")
32
+ st.text_area("Refined Work Experience", value=refined_resume, height=300)
33
+ # st.download_button(
34
+ # "Download Refined Resume",
35
+ # refined_resume,
36
+ # file_name="refined_resume.txt"
37
+ # )