Spaces:
Sleeping
Sleeping
kanhatakeyama
commited on
Commit
•
defe68e
1
Parent(s):
1b1926a
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,8 @@ def respond(
|
|
49 |
# response += token
|
50 |
if token is not None:
|
51 |
response += (token)
|
52 |
-
response
|
|
|
53 |
yield response
|
54 |
|
55 |
|
|
|
49 |
# response += token
|
50 |
if token is not None:
|
51 |
response += (token)
|
52 |
+
if response.find("### 指示:")>0:
|
53 |
+
break
|
54 |
yield response
|
55 |
|
56 |
|