peiji commited on
Commit
ba489d8
1 Parent(s): 222fd70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -152,8 +152,7 @@ def respond(query, history, chapter, candidates, story_ep, chat_ep, token, immer
152
  history.append([
153
  None, f"{content['is_end']}"
154
  ])
155
- yield history
156
- break
157
  next_bot_names=content['next_bot_names']
158
  next_bot_names=[bot_name for bot_name in content['next_bot_names'] if bot_name.replace(' ', "") in assistants]
159
  else:
 
152
  history.append([
153
  None, f"{content['is_end']}"
154
  ])
155
+ return "", history
 
156
  next_bot_names=content['next_bot_names']
157
  next_bot_names=[bot_name for bot_name in content['next_bot_names'] if bot_name.replace(' ', "") in assistants]
158
  else: