hunyuan-t commited on
Commit
8e733ae
·
verified ·
1 Parent(s): 32f6abe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ def respond(
69
  if is_reasoning_end:
70
  response += '> **End thinking**\n\n'
71
  is_reasoning_end = False
72
- token = event.choices[0].delta.answer_content
73
  response += token
74
  yield response
75
  except Exception as e:
 
69
  if is_reasoning_end:
70
  response += '> **End thinking**\n\n'
71
  is_reasoning_end = False
72
+ token = event.choices[0].delta.content
73
  response += token
74
  yield response
75
  except Exception as e: