send response even token is END_OF_TEXT

This commit is contained in:
josc146 2023-05-29 20:17:29 +08:00
parent 81d050d596
commit 142e30622e

View File

@ -138,6 +138,7 @@ The following is a coherent verbose detailed conversation between a girl named {
)
if token == END_OF_TEXT:
yield response, ""
break
if token not in occurrence:
occurrence[token] = 1