ldhldh commited on
Commit
099bb31
โ€ข
1 Parent(s): ca63268

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -254,6 +254,7 @@ def chat(id, npc, text):
254
  ]
255
  )
256
  output = response.choices[0].message.content
 
257
  print(output)
258
  history[npc][id] += f"\n\n### User:\n{text}\n\n### {npc}:{output}"
259
  else:
 
254
  ]
255
  )
256
  output = response.choices[0].message.content
257
+ output = output.replace(".",".\n")
258
  print(output)
259
  history[npc][id] += f"\n\n### User:\n{text}\n\n### {npc}:{output}"
260
  else: