mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
fixed tokenizzation
This commit is contained in:
parent
6ecad60955
commit
54d50d6f78
@ -137,7 +137,7 @@ class LollmsClient {
|
||||
const output = await axios.post("/lollms_tokenize", {"prompt": prompt, "return_named": return_named});
|
||||
if(return_named)
|
||||
{
|
||||
return output.data.named_tokens
|
||||
return output.data
|
||||
}
|
||||
else{
|
||||
return output.data
|
||||
|
Loading…
Reference in New Issue
Block a user