mployd-engineering commited on
Commit
91c3d2c
·
verified ·
1 Parent(s): f5f1423

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -236,4 +236,12 @@ with gr.Blocks(title="CV & Job Matcher (Llama 3.1 LoRA)") as demo:
236
 
237
  # Link the function to the button click event
238
  match_button.click(
239
- fn=match
 
 
 
 
 
 
 
 
 
236
 
237
  # Link the function to the button click event
238
  match_button.click(
239
+ fn=match_cv_jd,
240
+ inputs=[cv_input, jd_input],
241
+ outputs=output_display
242
+ )
243
+
244
+ # Launch the Gradio app
245
+ if __name__ == "__main__":
246
+ load_model() # Ensure model loading is called before demo launch
247
+ demo.launch()