Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -47,9 +47,9 @@ def respond(
|
|
47 |
|
48 |
for event in completion:
|
49 |
token = event.choices[0].delta.content
|
50 |
-
if message.find('写一篇关于青春的五言绝句') != -1:
|
51 |
-
|
52 |
-
|
53 |
response += token
|
54 |
yield response
|
55 |
except Exception as e:
|
|
|
47 |
|
48 |
for event in completion:
|
49 |
token = event.choices[0].delta.content
|
50 |
+
# if message.find('写一篇关于青春的五言绝句') != -1:
|
51 |
+
# print(11111111111)
|
52 |
+
# print(event)
|
53 |
response += token
|
54 |
yield response
|
55 |
except Exception as e:
|