khang119966 commited on
Commit
0a94fbf
·
verified ·
1 Parent(s): 5dee56c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.002)
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 new_state else "🧠Think"
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')