DreamStream-1 commited on
Commit
9ee0a98
·
verified ·
1 Parent(s): 05f9874

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -204,10 +204,11 @@ def download_results(results):
204
  interface = gr.Interface(
205
  fn=check_similarity,
206
  inputs=[job_desc_input, resumes_input],
207
- outputs=[results_output, gr.File(label="Download CSV", fn=download_results)],
208
  title="HR Assistant - Resume Screening & Leadership Experience",
209
  description="Upload job description and resumes to screen candidates for managerial and team leadership roles and extract candidate details.",
210
  allow_flagging="never"
211
  )
212
 
213
  interface.launch()
 
 
204
  interface = gr.Interface(
205
  fn=check_similarity,
206
  inputs=[job_desc_input, resumes_input],
207
+ outputs=[results_output, gr.File(label="Download CSV", file=download_results)], # Updated here
208
  title="HR Assistant - Resume Screening & Leadership Experience",
209
  description="Upload job description and resumes to screen candidates for managerial and team leadership roles and extract candidate details.",
210
  allow_flagging="never"
211
  )
212
 
213
  interface.launch()
214
+