mMonika commited on
Commit
5acce40
Β·
verified Β·
1 Parent(s): d8fd663

positining and prompting

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -365,7 +365,8 @@ optimize_resume_task = Task(
365
  - Content improvements with before/after examples
366
  - Skills to highlight based on job match
367
  - Achievements to add or modify
368
- - ATS optimization recommendations""",
 
369
  expected_output= """
370
  Structured JSON data containing detailed optimization suggestions according to
371
  the ResumeOptimization model schema.""",
@@ -565,17 +566,17 @@ def process_resume(api_key, job_url, company_name, resume_pdf):
565
  return error_msg, []
566
 
567
  # Build Gradio UI
568
- with gr.Blocks(theme=gr.themes.Soft() ) as demo:
569
  gr.Markdown("# πŸ€– AI Resume Optimizer πŸš€")
570
- gr.Markdown("")
571
 
572
  api_key = gr.Textbox(label="πŸ”‘ OpenAI API Key", placeholder="Enter your API Key securely")
573
  job_url = gr.Textbox(label="πŸ”— Job URL", placeholder="Paste job listing URL here")
574
  company_name = gr.Textbox(label="🏒 Company Name", placeholder="Enter company name")
575
  resume_pdf = gr.File(label="πŸ“„ Upload Resume (PDF Only)")
 
576
 
577
  output = gr.Textbox(label="πŸ“ AI Suggestions / Errors", interactive=True)
578
- btn = gr.Button("Optimize Resume")
579
 
580
  output_files = gr.File(label="πŸ“‚ Download Processed Files", interactive=True)
581
 
 
365
  - Content improvements with before/after examples
366
  - Skills to highlight based on job match
367
  - Achievements to add or modify
368
+ - ATS optimization recommendations
369
+ 4. Make sure not to add skills that are not there in the candidate but you can extract the relavent skills from candidate""",
370
  expected_output= """
371
  Structured JSON data containing detailed optimization suggestions according to
372
  the ResumeOptimization model schema.""",
 
566
  return error_msg, []
567
 
568
  # Build Gradio UI
569
+ with gr.Blocks(theme=gr.themes.Soft()) as demo:
570
  gr.Markdown("# πŸ€– AI Resume Optimizer πŸš€")
571
+ gr.Markdown("Get Complete analysis of your resume")
572
 
573
  api_key = gr.Textbox(label="πŸ”‘ OpenAI API Key", placeholder="Enter your API Key securely")
574
  job_url = gr.Textbox(label="πŸ”— Job URL", placeholder="Paste job listing URL here")
575
  company_name = gr.Textbox(label="🏒 Company Name", placeholder="Enter company name")
576
  resume_pdf = gr.File(label="πŸ“„ Upload Resume (PDF Only)")
577
+ btn = gr.Button("Optimize Resume")
578
 
579
  output = gr.Textbox(label="πŸ“ AI Suggestions / Errors", interactive=True)
 
580
 
581
  output_files = gr.File(label="πŸ“‚ Download Processed Files", interactive=True)
582