Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -382,6 +382,10 @@ def get_mentor():
|
|
382 |
do_sample=True,
|
383 |
seed=42,
|
384 |
)
|
|
|
|
|
|
|
|
|
385 |
prompt = f""" prompt:
|
386 |
You need to act like as recommendataion engine for mentor recommendation for student based on below details also the list of mentors with their experience is attached.
|
387 |
Degree: {user_degree}
|
|
|
382 |
do_sample=True,
|
383 |
seed=42,
|
384 |
)
|
385 |
+
file_path = "mentor.txt"
|
386 |
+
with open(file_path, "r") as file:
|
387 |
+
mentors_data = file.read()
|
388 |
+
|
389 |
prompt = f""" prompt:
|
390 |
You need to act like as recommendataion engine for mentor recommendation for student based on below details also the list of mentors with their experience is attached.
|
391 |
Degree: {user_degree}
|