From e2224dc30c5fda7954e39bc0b9d1c628fff97f91 Mon Sep 17 00:00:00 2001 From: warrentdrew Date: Wed, 28 Aug 2024 17:39:34 +0800 Subject: [PATCH] fix help message --- paddlespeech/t2s/exps/synthesize.py | 2 +- paddlespeech/t2s/exps/synthesize_e2e.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/paddlespeech/t2s/exps/synthesize.py b/paddlespeech/t2s/exps/synthesize.py index 383dfcfa3..b159725e2 100644 --- a/paddlespeech/t2s/exps/synthesize.py +++ b/paddlespeech/t2s/exps/synthesize.py @@ -269,7 +269,7 @@ def main(): paddle.set_device("cpu") else: print( - "one of ngpu, nxpu, nnpu or nmlu should be greater than 0, others equal to 0" + "one of ngpu, nxpu, nnpu or nmlu should be greater than 0 or all of them equal to 0" ) evaluate(args) diff --git a/paddlespeech/t2s/exps/synthesize_e2e.py b/paddlespeech/t2s/exps/synthesize_e2e.py index bbdcf0153..08a14b315 100644 --- a/paddlespeech/t2s/exps/synthesize_e2e.py +++ b/paddlespeech/t2s/exps/synthesize_e2e.py @@ -363,7 +363,7 @@ def main(): paddle.set_device("cpu") else: print( - "one of ngpu, nxpu, nnpu or nmlu should be greater than 0, others equal to 0" + "one of ngpu, nxpu, nnpu or nmlu should be greater than 0 or all of them equal to 0" ) evaluate(args)