DreamStream-1 commited on
Commit
9cffa4d
·
verified ·
1 Parent(s): 195af94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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", fn=download_results)],
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()