fix indent
Browse files
app.py
CHANGED
@@ -59,9 +59,7 @@ def tts(text, speaker_idx):
|
|
59 |
wav_coll = model_collectivat.tts(text)
|
60 |
wav_piper = model_piper.synthesize(text)
|
61 |
|
62 |
-
return (model_bsc.tts_config.audio["sample_rate"], wav_bsc),
|
63 |
-
(22000, wav_coll),
|
64 |
-
(16000, wav_piper)
|
65 |
|
66 |
# return output
|
67 |
with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
|
|
|
59 |
wav_coll = model_collectivat.tts(text)
|
60 |
wav_piper = model_piper.synthesize(text)
|
61 |
|
62 |
+
return (model_bsc.tts_config.audio["sample_rate"], wav_bsc), (22000, wav_coll), (16000, wav_piper)
|
|
|
|
|
63 |
|
64 |
# return output
|
65 |
with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
|