Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -293,6 +293,8 @@ def toggle_think_mode(current_state):
|
|
| 293 |
new_state = not current_state
|
| 294 |
button_label = "🧠Think💡" if new_state else "🧠Think"
|
| 295 |
return new_state, button_label
|
|
|
|
|
|
|
| 296 |
|
| 297 |
with demo:
|
| 298 |
think_mode = gr.State(False) # Lưu trạng thái Think Mode
|
|
|
|
| 293 |
new_state = not current_state
|
| 294 |
button_label = "🧠Think💡" if new_state else "🧠Think"
|
| 295 |
return new_state, button_label
|
| 296 |
+
|
| 297 |
+
demo = gr.Blocks(css=CSS,js=js, theme='NoCrypt/miku')
|
| 298 |
|
| 299 |
with demo:
|
| 300 |
think_mode = gr.State(False) # Lưu trạng thái Think Mode
|