Revert a change

I think that this may be needed for some clients
This commit is contained in:
oobabooga 2023-04-18 04:10:45 -03:00 committed by GitHub
parent 000f65a2ef
commit b0c762ceba
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ class Handler(BaseHTTPRequestHandler):
response = json.dumps({
'results': [{
'text': answer
'text': answer[len(prompt):]
}]
})
self.wfile.write(response.encode('utf-8'))