hunyuan-t commited on
Commit
581d991
·
verified ·
1 Parent(s): 1640d57

Update app.py

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