Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def refusal_condition(query):
|
|
57 |
if x in query_remove_space:
|
58 |
is_including_tw = True
|
59 |
is_including_cn = False
|
60 |
-
for x in ['中國', '中国', '
|
61 |
if x in query_remove_space:
|
62 |
is_including_cn = True
|
63 |
if is_including_tw and is_including_cn:
|
|
|
57 |
if x in query_remove_space:
|
58 |
is_including_tw = True
|
59 |
is_including_cn = False
|
60 |
+
for x in ['中國', '中国', 'cn', '大陸', '內地', '大陆', '内地', '中華人民共和國', '中华人民共和国']:
|
61 |
if x in query_remove_space:
|
62 |
is_including_cn = True
|
63 |
if is_including_tw and is_including_cn:
|