fix llava implementation

This commit is contained in:
FSSRepo 2023-10-16 16:31:17 -04:00
parent d7eca255d7
commit 4d1804330e
3 changed files with 1535 additions and 1527 deletions

View file

@ -446,7 +446,7 @@
).join("\n"),
});
if(selected_image) {
prompt = `A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions.\nUSER: [img-10]${msg}\nASSISTANT:`;
prompt = `A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions.\nUSER:[img-10]${msg}\nASSISTANT:`;
}
await runLlama(prompt, {
...params.value,