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 = {