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

Update app.py

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