DreamStream-1 commited on
Commit
ff5a4e0
·
verified ·
1 Parent(s): 25877a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -176,6 +176,7 @@ def analyze_resume(resume_file, job_description_file):
176
  "candidate_experience": candidate_experience
177
  }
178
 
 
179
  # --- Gradio Interface --- #
180
  def run_gradio_interface():
181
  """Runs the Gradio app interface."""
@@ -186,7 +187,8 @@ def run_gradio_interface():
186
  job_description_file_input = gr.File(label="Upload Job Description (PDF/TXT)")
187
  analyze_button = gr.Button("Analyze Resume")
188
 
189
- output_display = gr.Output()
 
190
 
191
  def analyze_callback(resume_file, job_description_file):
192
  analysis_results = analyze_resume(resume_file, job_description_file)
@@ -203,5 +205,6 @@ def run_gradio_interface():
203
 
204
  demo.launch()
205
 
 
206
  if __name__ == "__main__":
207
  run_gradio_interface()
 
176
  "candidate_experience": candidate_experience
177
  }
178
 
179
+ # --- Gradio Interface --- #
180
  # --- Gradio Interface --- #
181
  def run_gradio_interface():
182
  """Runs the Gradio app interface."""
 
187
  job_description_file_input = gr.File(label="Upload Job Description (PDF/TXT)")
188
  analyze_button = gr.Button("Analyze Resume")
189
 
190
+ # Change output_display to gr.Markdown for displaying the analysis results
191
+ output_display = gr.Markdown("### Analysis Results will be displayed here")
192
 
193
  def analyze_callback(resume_file, job_description_file):
194
  analysis_results = analyze_resume(resume_file, job_description_file)
 
205
 
206
  demo.launch()
207
 
208
+
209
  if __name__ == "__main__":
210
  run_gradio_interface()