fix bug make prompt with image always being default
This commit is contained in:
parent
0ef46da632
commit
914922d27e
1 changed files with 0 additions and 3 deletions
|
@ -458,9 +458,6 @@
|
|||
)
|
||||
).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:`;
|
||||
}
|
||||
await runLlama(prompt, {
|
||||
...params.value,
|
||||
slot_id: slot_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue