Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -101,7 +101,7 @@ def get_course():
|
|
| 101 |
return jsonify({"ans": stream})
|
| 102 |
|
| 103 |
|
| 104 |
-
@app.route('/get_mentor', methods=['
|
| 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
|