3v324v23 commited on
Commit
d81aa96
1 Parent(s): 972fdd3

updated prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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:',"猜",text_input,flags=re.I)
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 = "请给一个提示,提示格式,例子:猜一水果,打一字。"