forked from Blendman974/faceclaw
Translate app: sound level meter; translate unfinished segments
This commit is contained in:
1 parent
bf2addd287
commit
0b7d93a3f1
25 files changed
+679
-175
No files matched your search
@@ -50,6 +50,8 @@ export class SonioxSttClient implements CloudSttClient {
|
||||
sample_rate: CLOUD_STT_SAMPLE_RATE,
|
||||
num_channels: 1,
|
||||
enable_speaker_diarization: true,
|
||||
// A hint, not a restriction: other languages are still recognized.
|
||||
...(this.options.language ? { language_hints: [this.options.language] } : {}),
|
||||
}),
|
||||
);
|
||||
if (this.closed) return;
|
||||
|
||||
Reference in new issue
Block a user