Spaces:
Running
Running
zRzRzRzRzRzRzR
commited on
Commit
·
26295fb
1
Parent(s):
445847a
app.py
CHANGED
@@ -151,7 +151,7 @@ def reset():
|
|
151 |
demo = gr.Blocks(title="GLM-4.5 API Space", theme=gr.themes.Soft())
|
152 |
|
153 |
with demo:
|
154 |
-
gr.
|
155 |
"<div style='text-align:center;font-size:32px;font-weight:bold;margin-bottom:10px;'>GLM-4.5 API Space</div>"
|
156 |
"<div style='text-align:center;color:red;font-size:16px;margin-bottom:20px;'>"
|
157 |
"This space uses the API version of the service for faster response.<br>"
|
@@ -178,7 +178,7 @@ with demo:
|
|
178 |
clear = gr.Button("Clear")
|
179 |
with gr.Column(scale=1):
|
180 |
thinking_toggle = gr.Checkbox(label="Enable Thinking", value=True)
|
181 |
-
gr.
|
182 |
"<div style='color:red;font-size:12px;margin-top:5px;margin-bottom:15px;'>"
|
183 |
"ON: Enable model thinking.<br>"
|
184 |
"OFF: Not enable model thinking, the model will directly answer the question without reasoning."
|
|
|
151 |
demo = gr.Blocks(title="GLM-4.5 API Space", theme=gr.themes.Soft())
|
152 |
|
153 |
with demo:
|
154 |
+
gr.HTML(
|
155 |
"<div style='text-align:center;font-size:32px;font-weight:bold;margin-bottom:10px;'>GLM-4.5 API Space</div>"
|
156 |
"<div style='text-align:center;color:red;font-size:16px;margin-bottom:20px;'>"
|
157 |
"This space uses the API version of the service for faster response.<br>"
|
|
|
178 |
clear = gr.Button("Clear")
|
179 |
with gr.Column(scale=1):
|
180 |
thinking_toggle = gr.Checkbox(label="Enable Thinking", value=True)
|
181 |
+
gr.HTML(
|
182 |
"<div style='color:red;font-size:12px;margin-top:5px;margin-bottom:15px;'>"
|
183 |
"ON: Enable model thinking.<br>"
|
184 |
"OFF: Not enable model thinking, the model will directly answer the question without reasoning."
|