diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-02-24 20:09:38 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-02-24 20:09:38 +0100 |
commit | 0ade2098a66054cac3bb0ade1640eb8123302db4 (patch) | |
tree | 19f2c7f8526f28e4efa75a14ab60d78da2457741 /g4f/gui/client/html | |
parent | Add FlowGpt provider, Fix issue with None values in api (diff) | |
download | gpt4free-0ade2098a66054cac3bb0ade1640eb8123302db4.tar gpt4free-0ade2098a66054cac3bb0ade1640eb8123302db4.tar.gz gpt4free-0ade2098a66054cac3bb0ade1640eb8123302db4.tar.bz2 gpt4free-0ade2098a66054cac3bb0ade1640eb8123302db4.tar.lz gpt4free-0ade2098a66054cac3bb0ade1640eb8123302db4.tar.xz gpt4free-0ade2098a66054cac3bb0ade1640eb8123302db4.tar.zst gpt4free-0ade2098a66054cac3bb0ade1640eb8123302db4.zip |
Diffstat (limited to 'g4f/gui/client/html')
-rw-r--r-- | g4f/gui/client/html/index.html | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/g4f/gui/client/html/index.html b/g4f/gui/client/html/index.html index eaae7355..102a762e 100644 --- a/g4f/gui/client/html/index.html +++ b/g4f/gui/client/html/index.html @@ -29,10 +29,17 @@ } }; </script> - <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></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' + </script> + <script type="module" src="https://belladoreai.github.io/llama-tokenizer-js/llama-tokenizer.js" async> + import llamaTokenizer from 'llama-tokenizer-js' + </script> + <script src="https://unpkg.com/gpt-tokenizer/dist/cl100k_base.js" async></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">`; + const user_image = '<img src="/assets/img/user.png" alt="your avatar">'; + const gpt_image = '<img src="/assets/img/gpt.png" alt="your avatar">'; </script> <style> .hljs { |