Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -319,6 +319,10 @@ CSS ="""
|
|
| 319 |
height: 10dvh !important;
|
| 320 |
}
|
| 321 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 322 |
/* Đả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 */
|
| 323 |
button.svelte-1lcyrx4[aria-label="user's message: a file of type image/jpeg, "] img.svelte-1pijsyv {
|
| 324 |
width: 100%;
|
|
@@ -384,7 +388,7 @@ def toggle_think_mode(current_state):
|
|
| 384 |
global global_think_mode
|
| 385 |
new_state = not current_state
|
| 386 |
global_think_mode = not global_think_mode
|
| 387 |
-
button_label = "🧠
|
| 388 |
return new_state, button_label
|
| 389 |
|
| 390 |
demo = gr.Blocks(css=CSS,js=js, theme='NoCrypt/miku')
|
|
|
|
| 319 |
height: 10dvh !important;
|
| 320 |
}
|
| 321 |
|
| 322 |
+
#think-button{
|
| 323 |
+
width: 40% !important;
|
| 324 |
+
}
|
| 325 |
+
|
| 326 |
/* Đả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 */
|
| 327 |
button.svelte-1lcyrx4[aria-label="user's message: a file of type image/jpeg, "] img.svelte-1pijsyv {
|
| 328 |
width: 100%;
|
|
|
|
| 388 |
global global_think_mode
|
| 389 |
new_state = not current_state
|
| 390 |
global_think_mode = not global_think_mode
|
| 391 |
+
button_label = "🧠DeepThink💡" if new_state else "🧠Think"
|
| 392 |
return new_state, button_label
|
| 393 |
|
| 394 |
demo = gr.Blocks(css=CSS,js=js, theme='NoCrypt/miku')
|