Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,9 +50,9 @@ def respond(
|
|
50 |
print(event)
|
51 |
print(type(event))
|
52 |
print(event.choices[0])
|
53 |
-
print(event.choices[0].delta)
|
54 |
print(222222222222)
|
55 |
-
token = event.choices[0]
|
56 |
if message.find('写一篇关于青春的五言绝句') != -1:
|
57 |
print(11111111111)
|
58 |
print(token)
|
|
|
50 |
print(event)
|
51 |
print(type(event))
|
52 |
print(event.choices[0])
|
53 |
+
print(event.choices[0].delta.content)
|
54 |
print(222222222222)
|
55 |
+
token = event.choices[0].delta.content
|
56 |
if message.find('写一篇关于青春的五言绝句') != -1:
|
57 |
print(11111111111)
|
58 |
print(token)
|