Update app.py
Browse files
app.py
CHANGED
|
@@ -181,7 +181,7 @@ def download_results(results):
|
|
| 181 |
interface = gr.Interface(
|
| 182 |
fn=check_similarity,
|
| 183 |
inputs=[job_desc_input, resumes_input],
|
| 184 |
-
outputs=[results_output, gr.File(label="Download CSV",
|
| 185 |
title="HR Assistant - Resume Screening & Leadership Experience",
|
| 186 |
description="Upload job description and resumes to screen candidates for managerial and team leadership roles and extract candidate details.",
|
| 187 |
allow_flagging="never"
|
|
|
|
| 181 |
interface = gr.Interface(
|
| 182 |
fn=check_similarity,
|
| 183 |
inputs=[job_desc_input, resumes_input],
|
| 184 |
+
outputs=[results_output, gr.File(label="Download CSV", file=download_results)], # Corrected this line
|
| 185 |
title="HR Assistant - Resume Screening & Leadership Experience",
|
| 186 |
description="Upload job description and resumes to screen candidates for managerial and team leadership roles and extract candidate details.",
|
| 187 |
allow_flagging="never"
|