kanhatakeyama commited on
Commit
dc1003c
1 Parent(s): fbc1761

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -50,6 +50,7 @@ def respond(
50
  if token is not None:
51
  response += (token)
52
  if response.find("### 指示:")>0:
 
53
  break
54
  yield response
55
 
 
50
  if token is not None:
51
  response += (token)
52
  if response.find("### 指示:")>0:
53
+ response=response.split("### 指示:")[0]
54
  break
55
  yield response
56