hunyuan-t commited on
Commit
0b09f94
·
verified ·
1 Parent(s): 1405e41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -57,8 +57,9 @@ def respond(
57
 
58
  for event in completion:
59
  if message == "深圳哪里好玩?":
60
- print(event)
61
- print(event.choices[0].delta)
 
62
  if hasattr(event.choices[0].delta, 'reasoning_content'):
63
  if is_reasoning_start:
64
  response += '> **Start thinking**\n\n'
 
57
 
58
  for event in completion:
59
  if message == "深圳哪里好玩?":
60
+ print(111111)
61
+ print(event.choices[0].delta.reasoning_content)
62
+ print(event.choices[0].delta.content)
63
  if hasattr(event.choices[0].delta, 'reasoning_content'):
64
  if is_reasoning_start:
65
  response += '> **Start thinking**\n\n'