Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -60,6 +60,7 @@ def recommend():
|
|
| 60 |
|
| 61 |
for response in stream:
|
| 62 |
output += response.token.text
|
|
|
|
| 63 |
return output
|
| 64 |
|
| 65 |
@app.route('/get_mentor', methods=['POST'])
|
|
|
|
| 60 |
|
| 61 |
for response in stream:
|
| 62 |
output += response.token.text
|
| 63 |
+
yield output
|
| 64 |
return output
|
| 65 |
|
| 66 |
@app.route('/get_mentor', methods=['POST'])
|