Skip to content

Commit

Permalink
format style
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestinaQiu authored Jan 26, 2024
1 parent fac1c02 commit fc122c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/examples/tree-of-thought/src/llm/ernie_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def create(self, model, messages, temperature=0.6):
return new_out


# 检查字符串中是否存在中文 和 数字
def contains_number(input_string):
# 检查字符串中是否存在中文 和 数字
return bool(re.search(r"\d", input_string))


Expand Down

0 comments on commit fc122c3

Please sign in to comment.