darshan8950 commited on
Commit
5167814
·
verified ·
1 Parent(s): fa82529

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
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'])