From 44e9b032d5a247e09524d7b0776db6c5fb4a11aa Mon Sep 17 00:00:00 2001 From: KP <109694228@qq.com> Date: Wed, 1 Dec 2021 19:09:20 +0800 Subject: [PATCH] Update inputs and outputs of executor. --- paddlespeech/cli/executor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddlespeech/cli/executor.py b/paddlespeech/cli/executor.py index e307a287b..c132b3b87 100644 --- a/paddlespeech/cli/executor.py +++ b/paddlespeech/cli/executor.py @@ -26,8 +26,8 @@ class BaseExecutor(ABC): """ def __init__(self): - self.input = None - self.output = None + self._inputs = dict() + self._outputs = dict() @abstractmethod def _get_pretrained_path(self, tag: str) -> os.PathLike: