Skip to content

Commit

Permalink
修订sdk调用demo样例代码
Browse files Browse the repository at this point in the history
  • Loading branch information
nl8590687 committed Jun 10, 2022
1 parent 4047aa7 commit 5b4a94f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
HOST = '127.0.0.1'
PORT = '20001'
PROTOCOL = 'http'
SUB_PATH = ''
speech_recognizer = asrt_sdk.get_speech_recognizer(HOST, PORT, PROTOCOL)
speech_recognizer.sub_path = SUB_PATH

FILENAME = 'A11_0.wav'
result = speech_recognizer.recognite_file(FILENAME)
Expand Down

0 comments on commit 5b4a94f

Please sign in to comment.