Repository navigation
[asr][websocket]add streaming asr demo - #1737
Merged
Merged
Conversation
zh794390558
reviewed
Apr 21, 2022
| ### 2. Prepare config File | ||
| The configuration file can be found in `conf/application.yaml` . | ||
| Among them, `engine_list` indicates the speech engine that will be included in the service to be started, in the format of `<speech task>_<engine type>`. | ||
| At present, the speech tasks integrated by the service include: asr (speech recognition), tts (text to sppech) and cls (audio classification). |
Collaborator
There was a problem hiding this comment.
这部分针对性的修改下。这里只写流式的asr相关的内容。
|
|
||
| __all__ = ['TTSClientExecutor', 'ASRClientExecutor', 'CLSClientExecutor'] | ||
| __all__ = [ | ||
| 'TTSClientExecutor', 'ASRClientExecutor', 'ASRClientExecutor', |
Collaborator
There was a problem hiding this comment.
ASROnlineClientExecutor
| @@ -0,0 +1,62 @@ | |||
| # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. | |||
Collaborator
There was a problem hiding this comment.
paddlespeech/server/tests/asr/online/microphone_client.py 这个文件保留
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR types
PR changes
Describe
add streaming asr demo