datacipen commited on
Commit
a5bb7fa
·
verified ·
1 Parent(s): e17595a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -83,7 +83,7 @@ async def Affichage_reponse(response):
83
  for update in response:
84
  if update.choices:
85
  time.sleep(0.125)
86
- await msg.stream_token(update.choices[0].delta.content.replace('Ã','é').replace('©','').replace('Ã','è').replace('¨','').replace('â','\'').replace('€','').replace('™','').replace('<','').replace('>','').replace('/',''))
87
 
88
  await msg.send()
89
  return msg
 
83
  for update in response:
84
  if update.choices:
85
  time.sleep(0.125)
86
+ await msg.stream_token(update.choices[0].delta.content)
87
 
88
  await msg.send()
89
  return msg