YC-Chen commited on
Commit
3d87461
1 Parent(s): 969cc94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ with gr.Blocks() as demo:
138
  message = message[3:] # remove SOT token
139
 
140
  if refusal_condition(history[-1][0]):
141
- history = [['[安全拒答啟動]', '請清除再開啟對話']]
142
  yield history
143
  else:
144
  data = {
 
138
  message = message[3:] # remove SOT token
139
 
140
  if refusal_condition(history[-1][0]):
141
+ history = [['[安全拒答啟動]', '[安全拒答啟動] 請清除再開啟對話']]
142
  yield history
143
  else:
144
  data = {