kanhatakeyama commited on
Commit
defe68e
1 Parent(s): 1b1926a

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
  # response += token
50
  if token is not None:
51
  response += (token)
52
- response=response.split("### 指示:")[0] #出力崩壊の応急処置
 
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