Swapnil-101 commited on
Commit
238c426
·
verified ·
1 Parent(s): 7da8995

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -101,7 +101,7 @@ def get_course():
101
  return jsonify({"ans": stream})
102
 
103
 
104
- @app.route('/get_mentor', methods=['GET'])
105
  def get_mentor():
106
  temperature = 0.9
107
  max_new_tokens = 256
 
101
  return jsonify({"ans": stream})
102
 
103
 
104
+ @app.route('/get_mentor', methods=['POST'])
105
  def get_mentor():
106
  temperature = 0.9
107
  max_new_tokens = 256