ciyidogan commited on
Commit
6cb5e3a
·
verified ·
1 Parent(s): 0123238

Update stt_google.py

Browse files
Files changed (1) hide show
  1. stt_google.py +7 -7
stt_google.py CHANGED
@@ -213,13 +213,13 @@ class GoogleCloudSTT(STTInterface):
213
  finally:
214
  log_info("🎤 Google STT stream thread ended")
215
 
216
- def _put_result(self, result: TranscriptionResult):
217
- """Helper to put result in queue"""
218
- try:
219
- self.responses_queue.put(result)
220
- # Debug log'u kaldırdık
221
- except Exception as e:
222
- log_error(f"❌ Error queuing result: {e}")
223
 
224
  async def stream_audio(self, audio_chunk: bytes) -> AsyncIterator[TranscriptionResult]:
225
  """Stream audio chunk and get transcription results"""
 
213
  finally:
214
  log_info("🎤 Google STT stream thread ended")
215
 
216
+ def _put_result(self, result: TranscriptionResult):
217
+ """Helper to put result in queue"""
218
+ try:
219
+ self.responses_queue.put(result)
220
+ # Debug log'u kaldırdık
221
+ except Exception as e:
222
+ log_error(f"❌ Error queuing result: {e}")
223
 
224
  async def stream_audio(self, audio_chunk: bytes) -> AsyncIterator[TranscriptionResult]:
225
  """Stream audio chunk and get transcription results"""