Spaces:
Runtime error
Runtime error
JustinLin610
commited on
Commit
•
0f94605
1
Parent(s):
fb729ab
fix typo and update
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ css = """
|
|
85 |
#qwen-md .katex-display>.katex>.katex-html { display: inline; }
|
86 |
"""
|
87 |
|
88 |
-
#
|
89 |
iface = gr.Interface(
|
90 |
css=css,
|
91 |
fn=math_chat_bot,
|
@@ -105,7 +105,7 @@ iface = gr.Interface(
|
|
105 |
title="📖 Qwen2 Math Demo",
|
106 |
allow_flagging='never',
|
107 |
description="This WebUI is based on Qwen2-VL for OCR and Qwen2-Math for mathematical reasoning. You can input either images or texts of mathematical or arithmetic problems."
|
108 |
-
)
|
109 |
|
110 |
# Launch gradio application
|
111 |
iface.launch()
|
|
|
85 |
#qwen-md .katex-display>.katex>.katex-html { display: inline; }
|
86 |
"""
|
87 |
|
88 |
+
# Create interface
|
89 |
iface = gr.Interface(
|
90 |
css=css,
|
91 |
fn=math_chat_bot,
|
|
|
105 |
title="📖 Qwen2 Math Demo",
|
106 |
allow_flagging='never',
|
107 |
description="This WebUI is based on Qwen2-VL for OCR and Qwen2-Math for mathematical reasoning. You can input either images or texts of mathematical or arithmetic problems."
|
108 |
+
)
|
109 |
|
110 |
# Launch gradio application
|
111 |
iface.launch()
|