Update app.py
Browse files
app.py
CHANGED
|
@@ -233,7 +233,7 @@ def download_results(results):
|
|
| 233 |
iface = gr.Interface(
|
| 234 |
fn=analyze_resumes,
|
| 235 |
inputs=[gr.Files(label="Upload Resumes (PDF, DOCX, TXT)", file_count="multiple"), gr.Textbox(label="Enter Job Description")],
|
| 236 |
-
outputs=[gr.DataFrame(label="Analysis Results"), gr.Textbox(label="Resume Count Message"), gr.File(label="Download Results",
|
| 237 |
flagging_mode="never",
|
| 238 |
live=True
|
| 239 |
)
|
|
|
|
| 233 |
iface = gr.Interface(
|
| 234 |
fn=analyze_resumes,
|
| 235 |
inputs=[gr.Files(label="Upload Resumes (PDF, DOCX, TXT)", file_count="multiple"), gr.Textbox(label="Enter Job Description")],
|
| 236 |
+
outputs=[gr.DataFrame(label="Analysis Results"), gr.Textbox(label="Resume Count Message"), gr.File(label="Download Results", file=download_results)],
|
| 237 |
flagging_mode="never",
|
| 238 |
live=True
|
| 239 |
)
|