Swapnil-101 commited on
Commit
ec2738b
·
verified ·
1 Parent(s): ff26dd4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -0
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!"})