Skip to content

Commit

Permalink
chore: update tts_clients.py typo (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear authored Sep 12, 2024
1 parent 68016ba commit 90d38f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rai_tts/rai_tts/tts_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def synthesize_speech_to_file(self, text: str) -> str:
audio_data = b"".join(response)
return self.save_audio_to_file(audio_data, suffix=".mp3")
except Exception as e:
logger.warn(f"Error ocurred during sythesizing speech: {e}.") # type: ignore
logger.warn(f"Error occurred during sythesizing speech: {e}.") # type: ignore
tries += 1
audio_data = b"".join(response)
return self.save_audio_to_file(audio_data, suffix=".mp3")
Expand Down

0 comments on commit 90d38f9

Please sign in to comment.