Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ ASR_WHISPER_DEVICE=auto
ASR_WHISPER_COMPUTE_TYPE=int8
ASR_WHISPER_BEAM_SIZE=1
ASR_WHISPER_CACHE_DIR=
# Volcengine streaming ASR (必填凭证;启用火山引擎 ASR 时需设置)
ASR_VOLC_ENDPOINT=wss://openspeech.bytedance.com/api/v3/sauc/bigmodel_async
ASR_VOLC_APP_KEY=
ASR_VOLC_ACCESS_KEY=
ASR_VOLC_RESOURCE_ID=
ASR_VOLC_CONNECT_ID_PREFIX=dialog-engine
ASR_VOLC_TIMEOUT_SECONDS=15
ASR_VOLC_FAILOVER_THRESHOLD=5

# 可选:自定义 OpenAI 终端或组织
OPENAI_BASE_URL=
Expand Down
15 changes: 15 additions & 0 deletions demo/sauc_python/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# README

**asr tob 相关client demo**

# Notice
python version: python 3.x

替换代码中的key为真实数据:
"app_key": "xxxxxxx",
"access_key": "xxxxxxxxxxxxxxxx"
使用示例:
python3 sauc_websocket_demo.py --file /Users/bytedance/code/python/eng_ddc_itn.wav



Loading
Loading