peiji commited on
Commit
a20d444
1 Parent(s): 1c3f094

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -180,12 +180,12 @@ def respond(query, history, chapter, candidates, story_ep, chat_ep, token, immer
180
  content=""
181
  content+=line
182
 
183
- for k, v in bot_contents.items(): ## 叠加历史对话
184
- req_data['chat_history'].append({
185
- 'bot_name':k,
186
- 'type':'assistant',
187
- 'content':v
188
- })
189
  if not immersion:
190
  break
191
  else:
 
180
  content=""
181
  content+=line
182
 
183
+ for k, v in bot_contents.items(): ## 叠加历史对话
184
+ req_data['chat_history'].append({
185
+ 'bot_name':k,
186
+ 'type':'assistant',
187
+ 'content':v
188
+ })
189
  if not immersion:
190
  break
191
  else: