Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -43,7 +43,7 @@ def recommendation():
|
|
43 |
|
44 |
|
45 |
@app.route('/get_mentor', methods=['POST'])
|
46 |
-
def
|
47 |
content = request.json
|
48 |
user_degree = content.get('degree')
|
49 |
user_stream = content.get('stream')
|
|
|
43 |
|
44 |
|
45 |
@app.route('/get_mentor', methods=['POST'])
|
46 |
+
def mentor():
|
47 |
content = request.json
|
48 |
user_degree = content.get('degree')
|
49 |
user_stream = content.get('stream')
|