diff --git a/paddlespeech/cli/stats/infer.py b/paddlespeech/cli/stats/infer.py index 7e6df3d2..676f5f73 100644 --- a/paddlespeech/cli/stats/infer.py +++ b/paddlespeech/cli/stats/infer.py @@ -75,14 +75,6 @@ class StatsExecutor(): "Here is the list of ASR pretrained models released by PaddleSpeech that can be used by command line and python API" ) self.show_support_models(pretrained_models) - - # show ASR static pretrained model - from paddlespeech.server.engine.asr.paddleinference.asr_engine import pretrained_models - logger.info( - "Here is the list of ASR static pretrained models released by PaddleSpeech that can be used by command line and python API" - ) - self.show_support_models(pretrained_models) - return True except BaseException: logger.error("Failed to get the list of ASR pretrained models.") @@ -132,14 +124,6 @@ class StatsExecutor(): "Here is the list of TTS pretrained models released by PaddleSpeech that can be used by command line and python API" ) self.show_support_models(pretrained_models) - - # show TTS static pretrained model - from paddlespeech.server.engine.tts.paddleinference.tts_engine import pretrained_models - logger.info( - "Here is the list of TTS static pretrained models released by PaddleSpeech that can be used by command line and python API" - ) - self.show_support_models(pretrained_models) - return True except BaseException: logger.error("Failed to get the list of TTS pretrained models.")