Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -294,7 +294,7 @@ We currently only support one image at the start of the context! Please start a
|
|
294 |
for char in thinking:
|
295 |
temp_text += char
|
296 |
yield accumulated_text + temp_text + "\n</code></pre>\n"
|
297 |
-
time.sleep(0.
|
298 |
|
299 |
accumulated_text += temp_text + "\n</code></pre>\n"
|
300 |
|
@@ -409,7 +409,7 @@ def toggle_think_mode(current_state):
|
|
409 |
new_state = not current_state
|
410 |
global_think_mode = not global_think_mode
|
411 |
print("global_think_mode: ",global_think_mode,"="*20)
|
412 |
-
button_label = "🧠DeepThink💡1minute⏳" if
|
413 |
return new_state, button_label
|
414 |
|
415 |
demo = gr.Blocks(css=CSS,js=js, theme='NoCrypt/miku')
|
|
|
294 |
for char in thinking:
|
295 |
temp_text += char
|
296 |
yield accumulated_text + temp_text + "\n</code></pre>\n"
|
297 |
+
time.sleep(0.005)
|
298 |
|
299 |
accumulated_text += temp_text + "\n</code></pre>\n"
|
300 |
|
|
|
409 |
new_state = not current_state
|
410 |
global_think_mode = not global_think_mode
|
411 |
print("global_think_mode: ",global_think_mode,"="*20)
|
412 |
+
button_label = "🧠DeepThink💡1minute⏳" if global_think_mode else "🧠Think"
|
413 |
return new_state, button_label
|
414 |
|
415 |
demo = gr.Blocks(css=CSS,js=js, theme='NoCrypt/miku')
|