fixed tokenizzation

This commit is contained in:
Saifeddine ALOUI 2024-11-26 01:40:47 +01:00
parent 6ecad60955
commit 54d50d6f78

View File

@ -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