Spaces:
Sleeping
Sleeping
positining and prompting
Browse files
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()
|
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 |
|