Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -249,7 +249,7 @@ CSS ="""
|
|
| 249 |
}
|
| 250 |
|
| 251 |
#think-button {
|
| 252 |
-
width:
|
| 253 |
}
|
| 254 |
|
| 255 |
/* Đảm bảo ảnh bên trong nút hiển thị đúng cách cho các nút có aria-label chỉ định */
|
|
@@ -318,7 +318,7 @@ def toggle_think_mode(current_state):
|
|
| 318 |
global global_think_mode
|
| 319 |
new_state = not current_state
|
| 320 |
global_think_mode = not global_think_mode
|
| 321 |
-
button_label = "🧠
|
| 322 |
return new_state, button_label
|
| 323 |
|
| 324 |
demo = gr.Blocks(css=CSS,js=js, theme='NoCrypt/miku')
|
|
|
|
| 249 |
}
|
| 250 |
|
| 251 |
#think-button {
|
| 252 |
+
width: 40% !important;
|
| 253 |
}
|
| 254 |
|
| 255 |
/* Đảm bảo ảnh bên trong nút hiển thị đúng cách cho các nút có aria-label chỉ định */
|
|
|
|
| 318 |
global global_think_mode
|
| 319 |
new_state = not current_state
|
| 320 |
global_think_mode = not global_think_mode
|
| 321 |
+
button_label = "💡Think🧠" if new_state else "🧠Think"
|
| 322 |
return new_state, button_label
|
| 323 |
|
| 324 |
demo = gr.Blocks(css=CSS,js=js, theme='NoCrypt/miku')
|