ciyidogan commited on
Commit
f8aed4d
·
verified ·
1 Parent(s): cc4dbca

Update stt/stt_google.py

Browse files
Files changed (1) hide show
  1. stt/stt_google.py +1 -4
stt/stt_google.py CHANGED
@@ -91,10 +91,7 @@ class GoogleCloudSTT(STTInterface):
91
  "OGG_OPUS": speech.RecognitionConfig.AudioEncoding.OGG_OPUS,
92
  }
93
  return encoding_map.get(encoding_str, speech.RecognitionConfig.AudioEncoding.WEBM_OPUS)
94
-
95
- # Alias for compatibility
96
- _get_google_encoding = _get_encoding
97
-
98
  async def stream_audio(self, audio_chunk: bytes) -> AsyncGenerator[TranscriptionResult, None]:
99
  """Stream audio chunk and get results"""
100
  if not self.is_streaming:
 
91
  "OGG_OPUS": speech.RecognitionConfig.AudioEncoding.OGG_OPUS,
92
  }
93
  return encoding_map.get(encoding_str, speech.RecognitionConfig.AudioEncoding.WEBM_OPUS)
94
+
 
 
 
95
  async def stream_audio(self, audio_chunk: bytes) -> AsyncGenerator[TranscriptionResult, None]:
96
  """Stream audio chunk and get results"""
97
  if not self.is_streaming: