Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
199 |
-
|
|
|
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 |
|