mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-16 08:25:18 +02:00
fix: Speaches STT service wiring
* Fix Speaches STT service wiring * chore: bump pipecat submodule --------- Co-authored-by: drascom <drascom@drascoms-MacBook-Pro.local> Co-authored-by: Abhishek Kumar <abhishek@a6k.me>
This commit is contained in:
parent
ec2f322486
commit
95d6dd44ff
3 changed files with 31 additions and 6 deletions
|
|
@ -145,12 +145,9 @@ def create_stt_service(
|
|||
sample_rate=audio_config.transport_in_sample_rate,
|
||||
)
|
||||
elif user_config.stt.provider == ServiceProviders.SPEACHES.value:
|
||||
base_url = user_config.stt.base_url.replace("http://", "ws://").replace(
|
||||
"https://", "wss://"
|
||||
)
|
||||
language = getattr(user_config.stt, "language", None) or "multi"
|
||||
language = getattr(user_config.stt, "language", None)
|
||||
return SpeachesSTTService(
|
||||
base_url=base_url,
|
||||
base_url=user_config.stt.base_url,
|
||||
api_key=user_config.stt.api_key or "none",
|
||||
settings=SpeachesSTTSettings(
|
||||
model=user_config.stt.model,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue