-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
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
Make Google Cloud STT/TTS timeout configurable #136575
base: dev
Are you sure you want to change the base?
Changes from 4 commits
bd9d32d
3defc6e
e0bde9e
4bfbcae
7ccdb31
bd9a323
7e4de31
59ee4b0
e738404
279308a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,9 @@ | |
CONF_GAIN = "gain" | ||
CONF_PROFILES = "profiles" | ||
CONF_TEXT_TYPE = "text_type" | ||
CONF_TIMEOUT= "tts_timeout" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove tts_ prefix and use it in stt.py too. |
||
|
||
DEFAULT_TIMEOUT = 10 | ||
DEFAULT_SPEED = 1.0 | ||
DEFAULT_PITCH = 0 | ||
DEFAULT_GAIN = 0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,8 @@ | |
"gain": "Default volume gain (in dB) of the voice", | ||
"profiles": "Default audio profiles", | ||
"text_type": "Default text type", | ||
"stt_model": "STT model" | ||
"stt_model": "STT model", | ||
"tts_timeout": "TTS timeout, seconds", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For consistency with other options, e.g. gain above, change to |
||
} | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space before =