Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -318,7 +318,7 @@ CSS ="""
|
|
| 318 |
flex-grow: 7;
|
| 319 |
min-width: min(160px, 100%);
|
| 320 |
border-width: var(--block-border-width);
|
| 321 |
-
height:
|
| 322 |
}
|
| 323 |
|
| 324 |
#think-button{
|
|
@@ -390,6 +390,7 @@ def toggle_think_mode(current_state):
|
|
| 390 |
global global_think_mode
|
| 391 |
new_state = not current_state
|
| 392 |
global_think_mode = not global_think_mode
|
|
|
|
| 393 |
button_label = "🧠DeepThink💡" if new_state else "🧠Think"
|
| 394 |
return new_state, button_label
|
| 395 |
|
|
|
|
| 318 |
flex-grow: 7;
|
| 319 |
min-width: min(160px, 100%);
|
| 320 |
border-width: var(--block-border-width);
|
| 321 |
+
height: 20dvh !important;
|
| 322 |
}
|
| 323 |
|
| 324 |
#think-button{
|
|
|
|
| 390 |
global global_think_mode
|
| 391 |
new_state = not current_state
|
| 392 |
global_think_mode = not global_think_mode
|
| 393 |
+
print("global_think_mode: ",global_think_mode,"="*20)
|
| 394 |
button_label = "🧠DeepThink💡" if new_state else "🧠Think"
|
| 395 |
return new_state, button_label
|
| 396 |
|