Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -634,7 +634,16 @@ def clear_databases():
|
|
| 634 |
def create_interface():
|
| 635 |
with gr.Blocks(theme='freddyaboulton/test-blue') as app:
|
| 636 |
gr.Markdown("# AI Recruiter Assistant")
|
|
|
|
|
|
|
|
|
|
| 637 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 638 |
with gr.Tabs():
|
| 639 |
|
| 640 |
# Recruiter View
|
|
@@ -642,7 +651,8 @@ def create_interface():
|
|
| 642 |
gr.Markdown("Clear existing culture documents and resumes from storage. Use this every time you are uploading new company documentation or do not want to select from the existing pool of resumes.")
|
| 643 |
clear_btn = gr.Button("Clear All Databases")
|
| 644 |
clear_status = gr.Textbox(label="Clear Status")
|
| 645 |
-
gr.Markdown("
|
|
|
|
| 646 |
with gr.Row():
|
| 647 |
culture_docs_upload = gr.File(
|
| 648 |
label="Upload Company Culture Documents",
|
|
@@ -650,7 +660,7 @@ def create_interface():
|
|
| 650 |
)
|
| 651 |
store_culture_btn = gr.Button("Store Culture Docs")
|
| 652 |
culture_status = gr.Textbox(label="Status")
|
| 653 |
-
gr.Markdown("Use this feature to upload resumes in bulk. These resumes will be used to assess the technical skills and culture fit of candidates.")
|
| 654 |
with gr.Row():
|
| 655 |
resume_bulk_upload = gr.File(
|
| 656 |
label="Upload Resumes",
|
|
@@ -661,7 +671,7 @@ def create_interface():
|
|
| 661 |
|
| 662 |
with gr.Row():
|
| 663 |
job_desc_recruiter = gr.Textbox(
|
| 664 |
-
label="Paste
|
| 665 |
lines=20
|
| 666 |
)
|
| 667 |
with gr.Row():
|
|
|
|
| 634 |
def create_interface():
|
| 635 |
with gr.Blocks(theme='freddyaboulton/test-blue') as app:
|
| 636 |
gr.Markdown("# AI Recruiter Assistant")
|
| 637 |
+
gr.Markdown("""**Purpose**
|
| 638 |
+
This prototype demonstrates how AI can support recruiting workflows — including candidate evaluation and outreach — while embedding safeguards for fairness, transparency, and verification.
|
| 639 |
+
It is designed as a **decision-support tool**, not an automated decision-maker.
|
| 640 |
|
| 641 |
+
## ⚠️ Important Disclaimer
|
| 642 |
+
|
| 643 |
+
This tool does **not** replace recruiter judgment, legal review, or hiring policy compliance. Final hiring decisions must always be made by humans.
|
| 644 |
+
## 💬 Feedback Welcome
|
| 645 |
+
Please share feedback, issues, or improvement ideas via the **Community** tab.
|
| 646 |
+
""")
|
| 647 |
with gr.Tabs():
|
| 648 |
|
| 649 |
# Recruiter View
|
|
|
|
| 651 |
gr.Markdown("Clear existing culture documents and resumes from storage. Use this every time you are uploading new company documentation or do not want to select from the existing pool of resumes.")
|
| 652 |
clear_btn = gr.Button("Clear All Databases")
|
| 653 |
clear_status = gr.Textbox(label="Clear Status")
|
| 654 |
+
gr.Markdown("💡 Tip: A sample resume, culture document and job description are available in the **Files** section of this space for testing.")
|
| 655 |
+
gr.Markdown("Use this feature to upload company culture documents (values, principles, leadership philosophy).These documents will be used to assess the cultural fit of candidates.")
|
| 656 |
with gr.Row():
|
| 657 |
culture_docs_upload = gr.File(
|
| 658 |
label="Upload Company Culture Documents",
|
|
|
|
| 660 |
)
|
| 661 |
store_culture_btn = gr.Button("Store Culture Docs")
|
| 662 |
culture_status = gr.Textbox(label="Status")
|
| 663 |
+
gr.Markdown("Use this feature to upload resumes in bulk (word or PDF). Each resume is anonymized before analysis. These resumes will be used to assess the technical skills and culture fit of candidates.")
|
| 664 |
with gr.Row():
|
| 665 |
resume_bulk_upload = gr.File(
|
| 666 |
label="Upload Resumes",
|
|
|
|
| 671 |
|
| 672 |
with gr.Row():
|
| 673 |
job_desc_recruiter = gr.Textbox(
|
| 674 |
+
label="Paste the job description for the role you are hiring for.",
|
| 675 |
lines=20
|
| 676 |
)
|
| 677 |
with gr.Row():
|