summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client/html
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-03-09 19:51:35 +0100
committerGitHub <noreply@github.com>2024-03-09 19:51:35 +0100
commitb3d19c5660c1ed6c92b159087b5b0826682831c1 (patch)
tree80ba1d0a2d2cdbe44b6ad83c378057772d92725f /g4f/gui/client/html
parentMerge pull request #1665 from hlohaus/phind2 (diff)
parentAdd word count from iG8R (diff)
downloadgpt4free-0.2.3.0.tar
gpt4free-0.2.3.0.tar.gz
gpt4free-0.2.3.0.tar.bz2
gpt4free-0.2.3.0.tar.lz
gpt4free-0.2.3.0.tar.xz
gpt4free-0.2.3.0.tar.zst
gpt4free-0.2.3.0.zip
Diffstat (limited to 'g4f/gui/client/html')
-rw-r--r--g4f/gui/client/html/index.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/g4f/gui/client/html/index.html b/g4f/gui/client/html/index.html
index 86ab157d..85192d23 100644
--- a/g4f/gui/client/html/index.html
+++ b/g4f/gui/client/html/index.html
@@ -37,10 +37,6 @@
import llamaTokenizer from "llama-tokenizer-js"
</script>
<script src="https://unpkg.com/gpt-tokenizer/dist/cl100k_base.js" async></script>
- <script type="module" async>
- import { countWords } from 'https://esm.run/alfaaz';
- window.countWords = countWords;
- </script>
<script>
const user_image = '<img src="/assets/img/user.png" alt="your avatar">';
const gpt_image = '<img src="/assets/img/gpt.png" alt="your avatar">';
@@ -55,7 +51,6 @@
}
#message-input {
- margin-right: 30px;
height: 82px;
margin-left: 20px;
}
@@ -116,6 +111,7 @@
</div>
</div>
<div class="conversation">
+ <textarea id="systemPrompt" class="box" placeholder="System prompt"></textarea>
<div id="messages" class="box"></div>
<div class="toolbar">
<div id="input-count" class="">