DevNumb commited on
Commit
5d6a961
Β·
verified Β·
1 Parent(s): 3e60f1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -67,7 +67,8 @@ demo = gr.Interface(
67
  fn=rank_cvs,
68
  inputs=[
69
  gr.Textbox(label="πŸ’Ό Job Description", lines=5),
70
- gr.File(label="πŸ“ Upload CVs (PDF/DOCX)", file_count="multiple", type="file"),
 
71
  ],
72
  outputs=gr.Markdown(),
73
  title="πŸ“„ AI CV Ranker (API-powered)",
 
67
  fn=rank_cvs,
68
  inputs=[
69
  gr.Textbox(label="πŸ’Ό Job Description", lines=5),
70
+ # Option 2: Get raw bytes
71
+ gr.File(label="πŸ“ Upload CVs (PDF/DOCX)", file_count="multiple", type="binary"),
72
  ],
73
  outputs=gr.Markdown(),
74
  title="πŸ“„ AI CV Ranker (API-powered)",