DreamStream-1 commited on
Commit
b429641
·
verified ·
1 Parent(s): 2481da5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -191,12 +191,14 @@ def analyze_resume(resume_file, job_description_file):
191
  "Response Message": response_message,
192
  }
193
 
 
194
  # --- Gradio Interface --- #
195
  with gr.Blocks() as demo:
196
  gr.Markdown("## Resume and Job Description Analyzer")
197
  with gr.Row():
198
- resume_file_input = gr.File(label="Upload Resume (PDF/TXT)", type="file")
199
- job_description_file_input = gr.File(label="Upload Job Description (PDF/TXT)", type="file")
 
200
  analyze_button = gr.Button("Analyze")
201
  results_output = gr.Output()
202
 
 
191
  "Response Message": response_message,
192
  }
193
 
194
+
195
  # --- Gradio Interface --- #
196
  with gr.Blocks() as demo:
197
  gr.Markdown("## Resume and Job Description Analyzer")
198
  with gr.Row():
199
+ # Change 'file' to 'filepath' for both inputs
200
+ resume_file_input = gr.File(label="Upload Resume (PDF/TXT)", type="filepath")
201
+ job_description_file_input = gr.File(label="Upload Job Description (PDF/TXT)", type="filepath")
202
  analyze_button = gr.Button("Analyze")
203
  results_output = gr.Output()
204