mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-09-20 10:35:10 +02:00
Revert a change
I think that this may be needed for some clients
This commit is contained in:
parent
000f65a2ef
commit
b0c762ceba
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class Handler(BaseHTTPRequestHandler):
|
|||
|
||||
response = json.dumps({
|
||||
'results': [{
|
||||
'text': answer
|
||||
'text': answer[len(prompt):]
|
||||
}]
|
||||
})
|
||||
self.wfile.write(response.encode('utf-8'))
|
||||
|
|
Loading…
Reference in a new issue