summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client/html/index.html
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-02-19 18:33:10 +0100
committerGitHub <noreply@github.com>2024-02-19 18:33:10 +0100
commitf9ad8730ac7e63bcb724dbedfa9f6cab394a0d22 (patch)
treee1cbf1cb6b4e338031c2c72ecc549cd64a0702c5 /g4f/gui/client/html/index.html
parentMove GeminiProChat to a new provider #1596 (#1601) (diff)
parentAdd MathJax to GUI #1563, Add model name to GUI #1600 (diff)
downloadgpt4free-f9ad8730ac7e63bcb724dbedfa9f6cab394a0d22.tar
gpt4free-f9ad8730ac7e63bcb724dbedfa9f6cab394a0d22.tar.gz
gpt4free-f9ad8730ac7e63bcb724dbedfa9f6cab394a0d22.tar.bz2
gpt4free-f9ad8730ac7e63bcb724dbedfa9f6cab394a0d22.tar.lz
gpt4free-f9ad8730ac7e63bcb724dbedfa9f6cab394a0d22.tar.xz
gpt4free-f9ad8730ac7e63bcb724dbedfa9f6cab394a0d22.tar.zst
gpt4free-f9ad8730ac7e63bcb724dbedfa9f6cab394a0d22.zip
Diffstat (limited to 'g4f/gui/client/html/index.html')
-rw-r--r--g4f/gui/client/html/index.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/g4f/gui/client/html/index.html b/g4f/gui/client/html/index.html
index 70b8c75f..eaae7355 100644
--- a/g4f/gui/client/html/index.html
+++ b/g4f/gui/client/html/index.html
@@ -22,6 +22,15 @@
<link rel="stylesheet"
href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.7.0/build/styles/base16/dracula.min.css">
<script>
+ MathJax = {
+ chtml: {
+ scale: 1,
+ displayAlign: 'left'
+ }
+ };
+ </script>
+ <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></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">`;
</script>