Update app.py
Browse files
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 |
-
|
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:
|