Spaces:
Running
Running
Update main.py
Browse files
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
|
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
|