ldhldh commited on
Commit
9eb5c12
ยท
1 Parent(s): 0ae9ac5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -219,6 +219,7 @@ def chat(id, npc, text):
219
  output = cleanText(output)
220
  print(tokenizer.decode(outputs[0]))
221
  print(output)
 
222
  else:
223
  output = "no model"
224
 
 
219
  output = cleanText(output)
220
  print(tokenizer.decode(outputs[0]))
221
  print(output)
222
+ history[npc][id] += f"\n\n### User:\n{text}\n\n### {npc}:{output}"
223
  else:
224
  output = "no model"
225