From 914922d27e0c29acec67c425bbb2e071832e77f9 Mon Sep 17 00:00:00 2001 From: DrewZt <37324084+DrewZt@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:44:15 +0800 Subject: [PATCH] fix bug make prompt with image always being default --- examples/server/public/index.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/server/public/index.html b/examples/server/public/index.html index b059c75f2da66..e3935c857e497 100644 --- a/examples/server/public/index.html +++ b/examples/server/public/index.html @@ -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,