Skip to content

Commit

Permalink
Remove debug purpose logs
Browse files Browse the repository at this point in the history
  • Loading branch information
SilyNoMeta committed Jan 5, 2025
1 parent 0c92519 commit c83faf9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tts_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,6 @@ async def generate_audio(text, voice, language, temperature, repetition_penalty,

# Streaming mode
if streaming:
print_message("Streaming mode enabled", "debug", "TTS")
response = model_engine.generate_tts(
text, voice, language, temperature, repetition_penalty, speed, pitch, output_file=None, streaming=True
)
Expand All @@ -963,7 +962,6 @@ async def stream_audio():
return stream_audio()

# Non-streaming mode
print_message("Non-streaming mode enabled", "debug", "TTS")
response = model_engine.generate_tts(
text, voice, language, temperature, repetition_penalty, speed, pitch, output_file, streaming=False
)
Expand Down

0 comments on commit c83faf9

Please sign in to comment.