未验证 提交 1ce7bfef 编写于 作者: 小湉湉's avatar 小湉湉 提交者: GitHub

Merge pull request #2084 from Jackwaterveg/develop_fix

[CLI] fix 'print log' in cli
......@@ -99,7 +99,7 @@ class Log():
_call_from_cli = False
_frame = inspect.currentframe()
while _frame:
if 'paddlespeech/cli/__init__.py' in _frame.f_code.co_filename or 'paddlespeech/t2s' in _frame.f_code.co_filename:
if 'paddlespeech/cli/entry.py' in _frame.f_code.co_filename or 'paddlespeech/t2s' in _frame.f_code.co_filename:
_call_from_cli = True
break
_frame = _frame.f_back
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册