Spaces:
Building
Building
Update stt/stt_google.py
Browse files- stt/stt_google.py +1 -1
stt/stt_google.py
CHANGED
@@ -343,7 +343,7 @@ class GoogleCloudSTT(STTInterface):
|
|
343 |
self.client = speech.SpeechClient()
|
344 |
log_info("✅ Created new Google Speech client")
|
345 |
|
346 |
-
|
347 |
encoding=self._get_encoding(config.encoding),
|
348 |
sample_rate_hertz=config.sample_rate,
|
349 |
language_code=config.language,
|
|
|
343 |
self.client = speech.SpeechClient()
|
344 |
log_info("✅ Created new Google Speech client")
|
345 |
|
346 |
+
recognition_config = speech.RecognitionConfig(
|
347 |
encoding=self._get_encoding(config.encoding),
|
348 |
sample_rate_hertz=config.sample_rate,
|
349 |
language_code=config.language,
|