diff --git a/appbuilder/utils/model_util.py b/appbuilder/utils/model_util.py index 8dbd7f929..f7576c399 100644 --- a/appbuilder/utils/model_util.py +++ b/appbuilder/utils/model_util.py @@ -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