Spaces:
Paused
Paused
Update app.py
Browse files
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=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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()
|