mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-24 13:28:59 +01:00
Revert a change
I think that this may be needed for some clients
This commit is contained in:
parent
000f65a2ef
commit
b0c762ceba
@ -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 New Issue
Block a user