coqui-ai / TTS

🐸💬 - a deep learning toolkit for Text-to-Speech, battle-tested in research and production
http://coqui.ai
Mozilla Public License 2.0
35.59k stars 4.35k forks source link

[Feature request] Reducing logging (stdout) information when initializing TTS #3970

Open nisanb opened 3 months ago

nisanb commented 3 months ago

Hi, I would hope for the option to reduce the verbosity (or mute all) output messages when initializing TTS.

Just some output when I initialize:

> tts_models/en/ljspeech/tacotron2-DDC is already downloaded.
 > vocoder_models/en/ljspeech/hifigan_v2 is already downloaded.
 > Using model: Tacotron2
 > Setting up Audio Processor...
 | > sample_rate:22050
 | > resample:False
 | > num_mels:80
 | > log_func:np.log
 | > min_level_db:-100
 | > frame_shift_ms:None
 | > frame_length_ms:None
 | > ref_level_db:20
 | > fft_size:1024
 | > power:1.5
 | > preemphasis:0.0
 | > griffin_lim_iters:60
 | > signal_norm:False
eginhard commented 3 months ago

In our fork (available via pip install coqui-tts) the (vast majority of) print statements were replaced with the Python standard lib's logging. This should make it easy to configure the verbosity as needed.

stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.