updated prompt
Browse files
app.py
CHANGED
@@ -136,7 +136,7 @@ def helper_text(text_input,radio=None):
|
|
136 |
text_input = chinese_converter.to_simplified(text_input)
|
137 |
chinese_type = "traditional"
|
138 |
|
139 |
-
text_input = re.sub(r'hint
|
140 |
|
141 |
#if not any(c in text_input for c in ["猜", "打"]):
|
142 |
# warning = "请给一个提示,提示格式,例子:猜一水果,打一字。"
|
|
|
136 |
text_input = chinese_converter.to_simplified(text_input)
|
137 |
chinese_type = "traditional"
|
138 |
|
139 |
+
text_input = re.sub(r'hint',"猜",text_input,flags=re.I)
|
140 |
|
141 |
#if not any(c in text_input for c in ["猜", "打"]):
|
142 |
# warning = "请给一个提示,提示格式,例子:猜一水果,打一字。"
|