hunyuan-t commited on
Commit
4603974
·
verified ·
1 Parent(s): 0cb2b69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def respond(
60
  response += '> **End thinking**\n\n'
61
  is_reasoning_end = False
62
  token = event.choices[0].delta.content# Wrap content in a span with a normal color
63
- response += f'<span style="color: #000000;">{token}</span>'
64
  yield response
65
  except Exception as e:
66
  raise gr.Error(f"发生错误: {str(e)}")
 
60
  response += '> **End thinking**\n\n'
61
  is_reasoning_end = False
62
  token = event.choices[0].delta.content# Wrap content in a span with a normal color
63
+ response += token
64
  yield response
65
  except Exception as e:
66
  raise gr.Error(f"发生错误: {str(e)}")