Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
MrChengmo committed Mar 11, 2024
1 parent 791dab3 commit d2853cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appbuilder/utils/model_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ def get_remote_name_by_short_name(self, short_name: str) -> Optional[str]:
short_name(str):
模型简称。
"""
# TODO(chengmo): 使用logging 替换 print,解决print多次的问题
if short_name == "eb-turbo-appbuilder":
print("deprecate warning: model [eb-turbo-appbuilder] is deprecated, please use [ERNIE Speed-AppBuilder]")
print("Deprecate warning: model [eb-turbo-appbuilder] is deprecated, please use [ERNIE Speed-AppBuilder]")

if short_name in self.short_names:
return self.remote_name
Expand Down

0 comments on commit d2853cd

Please sign in to comment.