Aqdas commited on
Commit
be442b8
Β·
verified Β·
1 Parent(s): ca27a6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -6
app.py CHANGED
@@ -25,15 +25,26 @@ genai.configure(api_key=openai_api_key)
25
 
26
  st.set_page_config(page_title="CV Recommendor Gen AI")
27
  st.title("Gen AI CV Recommender")
28
- col1, col2 = st.columns(2)
 
29
 
30
- with col1:
31
- uploaded_files = st.file_uploader("Choose PDF files", accept_multiple_files=True, type="pdf")
32
- with col2:
33
- job_description = st.text_input('Enter Job Description')
 
 
 
 
 
 
 
 
 
 
34
 
35
  if uploaded_files and job_description:
36
- if st.button('AI Recommendation'):
37
  image_bytes = pdf_to_image(uploaded_files)
38
 
39
  all_texts = []
 
25
 
26
  st.set_page_config(page_title="CV Recommendor Gen AI")
27
  st.title("Gen AI CV Recommender")
28
+ st.write("""
29
+ **Find the Best Candidates for Your Job!**
30
 
31
+ πŸ” **What It Does:**
32
+ - Analyzes multiple resumes in PDF format.
33
+ - Matches them with your job description.
34
+
35
+ πŸ“‹ **How It Works:**
36
+ 1. Upload resumes πŸ“„
37
+ 2. Upload the job description πŸ“
38
+ 3. Get a table of top recommended candidates πŸ†
39
+
40
+ Ready to find the perfect fit? Let's get started!
41
+ """)
42
+
43
+ uploaded_files = st.sidebar.file_uploader("Choose PDF files", accept_multiple_files=True, type="pdf")
44
+ job_description = st.sidebar.text_input('Enter Job Description')
45
 
46
  if uploaded_files and job_description:
47
+ if st.sidebar.button(('AI Recommendation'):
48
  image_bytes = pdf_to_image(uploaded_files)
49
 
50
  all_texts = []