Spaces:
Running
Running
Update app.py
Browse files
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:
|