diff options
author | abc <98614666+xtekky@users.noreply.github.com> | 2024-03-07 13:31:32 +0100 |
---|---|---|
committer | abc <98614666+xtekky@users.noreply.github.com> | 2024-03-07 13:31:32 +0100 |
commit | 8f7dbfec63edf58a3845b0bd9b06c32f41380856 (patch) | |
tree | 2945f1f1e04450a47e45a8f12bc50efb384b54f5 /g4f/gui/client/html/index.html | |
parent | ~ | fixed Vercel Provider (diff) | |
parent | Merge pull request #1660 from Commenter123321/patch-1 (diff) | |
download | gpt4free-8f7dbfec63edf58a3845b0bd9b06c32f41380856.tar gpt4free-8f7dbfec63edf58a3845b0bd9b06c32f41380856.tar.gz gpt4free-8f7dbfec63edf58a3845b0bd9b06c32f41380856.tar.bz2 gpt4free-8f7dbfec63edf58a3845b0bd9b06c32f41380856.tar.lz gpt4free-8f7dbfec63edf58a3845b0bd9b06c32f41380856.tar.xz gpt4free-8f7dbfec63edf58a3845b0bd9b06c32f41380856.tar.zst gpt4free-8f7dbfec63edf58a3845b0bd9b06c32f41380856.zip |
Diffstat (limited to 'g4f/gui/client/html/index.html')
-rw-r--r-- | g4f/gui/client/html/index.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/g4f/gui/client/html/index.html b/g4f/gui/client/html/index.html index 96829b2c..887562c2 100644 --- a/g4f/gui/client/html/index.html +++ b/g4f/gui/client/html/index.html @@ -31,12 +31,16 @@ </script> <script id="MathJax-script" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js" async></script> <script type="module" src="https://cdn.jsdelivr.net/npm/mistral-tokenizer-js" async> - import mistralTokenizer from 'mistral-tokenizer-js' + import mistralTokenizer from "mistral-tokenizer-js" </script> <script type="module" src="https://belladoreai.github.io/llama-tokenizer-js/llama-tokenizer.js" async> - import llamaTokenizer from 'llama-tokenizer-js' + 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">'; |