Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,12 +28,7 @@ def generate_response(prompt_template, **kwargs):
|
|
28 |
"markdown.extensions.attr_list",
|
29 |
]
|
30 |
)
|
31 |
-
return f"""<script
|
32 |
-
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML">
|
33 |
-
</script>
|
34 |
-
<script>
|
35 |
-
MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
|
36 |
-
</script>
|
37 |
{html}"""
|
38 |
|
39 |
# Gradio app interface
|
|
|
28 |
"markdown.extensions.attr_list",
|
29 |
]
|
30 |
)
|
31 |
+
return f"""<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
|
|
|
|
|
|
|
|
|
|
32 |
{html}"""
|
33 |
|
34 |
# Gradio app interface
|