File size: 2,360 Bytes
4d0c2cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
diff --git a/examples/server/public/index-new.html b/examples/server/public/index-new.html
index c87dd8f1..d1aed025 100644
--- a/examples/server/public/index-new.html
+++ b/examples/server/public/index-new.html
@@ -1063,7 +1063,7 @@ return html`
       return html`
         <div class="mode-${session.value.type}">
           <header>
-            <h2>llama.cpp</h2>
+            <h2>modelname</h2>
             <div class="dropdown">
               <button class="dropbtn"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="10" stroke-width="2"/></svg></button>
               <div class="dropdown-content" id="theme-selector">
diff --git a/examples/server/public/index.html b/examples/server/public/index.html
index 07fec6a3..0d873f3f 100644
--- a/examples/server/public/index.html
+++ b/examples/server/public/index.html
@@ -3,7 +3,7 @@
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
   <meta name="color-scheme" content="light dark">
-  <title>llama.cpp - chat</title>
+  <title>assistantname - chat</title>
 
   <style>
     body {
@@ -288,12 +288,12 @@
     var slot_id = -1;
 
     const session = signal({
-      prompt: "This is a conversation between User and Llama, a friendly chatbot. Llama is helpful, kind, honest, good at writing, and never fails to answer any requests immediately and with precision.",
+      prompt: "This is a conversation between User and assistantname, a friendly chatbot. assistantname is helpful, kind, honest, good at writing, and never fails to answer any requests immediately and with precision.",
       template: "{{prompt}}\n\n{{history}}\n{{char}}:",
       historyTemplate: "{{name}}: {{message}}",
       transcript: [],
       type: "chat",  // "chat" | "completion"
-      char: "Llama",
+      char: "assistantname",
       user: "User",
       image_selected: ''
     })
@@ -1258,7 +1258,7 @@
           <header>
             <div class="grid-container">
               <div class="grid-item"></div>
-              <div class="grid-item"><h1>llama.cpp</h1></div>
+              <div class="grid-item"><h1>modelname</h1></div>
               <div class="grid-item"><a class="customlink" href="index-new.html">New UI</a></div>
             </div>
           </header>