Skip to content

[server] add cli #1466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 21, 2022
Merged

[server] add cli #1466

merged 3 commits into from
Feb 21, 2022

Conversation

lym0302
Copy link
Contributor

@lym0302 lym0302 commented Feb 21, 2022

PR types
New features

PR changes
add cli

Describe
speech server add cli
#1368
#1369

@lym0302 lym0302 added this to the r0.2.0 milestone Feb 21, 2022

from .base_commands import BaseCommand
from .base_commands import HelpCommand
from paddlespeech.server.bin.paddlespeech_client import TTSClientExecutor
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

后面是否只有一个ClientExecutor?

from paddlespeech.server.utils.audio_process import wav2pcm


@cli_register(name='paddleserver.ttsclient', description='visit tts service')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

asr应该可以和tts共用一个executor吧?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我这边想的是分开的,asr 和 tts api所需要的输入不一样

Copy link
Collaborator

@zh794390558 zh794390558 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zh794390558 zh794390558 merged commit 6b94abd into PaddlePaddle:server Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants