YC-Chen commited on
Commit
2c4ce4d
1 Parent(s): 8c8cc09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ with gr.Blocks() as demo:
125
  message = message[3:] # remove SOT token
126
 
127
  if refusal_condition(history[-1][0]):
128
- history = [['[安全拒答]', None]]
129
  yield history
130
  else:
131
  data = {
 
125
  message = message[3:] # remove SOT token
126
 
127
  if refusal_condition(history[-1][0]):
128
+ history = [['[安全拒答啟動]', '請清除再開啟對話']]
129
  yield history
130
  else:
131
  data = {