Update app.py
Browse files
app.py
CHANGED
|
@@ -180,10 +180,11 @@ def download_results(results):
|
|
| 180 |
interface = gr.Interface(
|
| 181 |
fn=check_similarity,
|
| 182 |
inputs=[job_desc_input, resumes_input],
|
| 183 |
-
outputs=[results_output, gr.File(label="Download CSV"
|
| 184 |
title="HR Assistant - Resume Screening & Leadership Experience",
|
| 185 |
description="Upload job description and resumes to screen candidates for managerial and team leadership roles and extract candidate details.",
|
| 186 |
allow_flagging="never"
|
| 187 |
)
|
| 188 |
|
|
|
|
| 189 |
interface.launch()
|
|
|
|
| 180 |
interface = gr.Interface(
|
| 181 |
fn=check_similarity,
|
| 182 |
inputs=[job_desc_input, resumes_input],
|
| 183 |
+
outputs=[results_output, gr.File(label="Download CSV")],
|
| 184 |
title="HR Assistant - Resume Screening & Leadership Experience",
|
| 185 |
description="Upload job description and resumes to screen candidates for managerial and team leadership roles and extract candidate details.",
|
| 186 |
allow_flagging="never"
|
| 187 |
)
|
| 188 |
|
| 189 |
+
# Set the download function with a custom button
|
| 190 |
interface.launch()
|