Fix oobabooga

This commit is contained in:
SillyLossy
2023-04-21 14:38:38 +03:00
parent b180aeaae5
commit 50526a16b9
4 changed files with 14 additions and 12 deletions

View File

@ -424,7 +424,7 @@ app.post("/generate_textgenerationwebui", jsonParser, async function (request, r
let result = JSON.parse(request.body.data)[0];
let prompt = result;
let stopping_strings = JSON.parse(request.body.data)[1].custom_stopping_strings;
let stopping_strings = JSON.parse(request.body.data)[1].stopping_strings;
try {
for await (const text of readWebsocket()) {