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
No known key found for this signature in database
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'))