Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 = {
|