Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -19,6 +19,10 @@ file_path = "mentor.txt"
|
|
19 |
with open(file_path, "r") as file:
|
20 |
mentors_data = file.read()
|
21 |
|
|
|
|
|
|
|
|
|
22 |
@app.route('/')
|
23 |
def home():
|
24 |
return jsonify({"message": "Welcome to the Recommendation API!"})
|
|
|
19 |
with open(file_path, "r") as file:
|
20 |
mentors_data = file.read()
|
21 |
|
22 |
+
file_path = "temp_mentor.txt"
|
23 |
+
with open(file_path, "r") as file:
|
24 |
+
temp_mentors_data = file.read()
|
25 |
+
|
26 |
@app.route('/')
|
27 |
def home():
|
28 |
return jsonify({"message": "Welcome to the Recommendation API!"})
|