hunyuan-t commited on
Commit
b30bafc
·
verified ·
1 Parent(s): d691f34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -49,7 +49,8 @@ def respond(
49
  print(222222222222)
50
  print(event)
51
  print(type(event))
52
- print(event.choices)
 
53
  print(222222222222)
54
  token = event.choices[0]['Delta']['Content']
55
  if message.find('写一篇关于青春的五言绝句') != -1:
 
49
  print(222222222222)
50
  print(event)
51
  print(type(event))
52
+ print(event.choices[0])
53
+ print(event.choices[0].Choice)
54
  print(222222222222)
55
  token = event.choices[0]['Delta']['Content']
56
  if message.find('写一篇关于青春的五言绝句') != -1: