bunch of short fixes

This commit is contained in:
Eren Gölge
2021-03-08 14:51:27 +01:00
parent 5dcc4be560
commit 1e169a5ba5
4 changed files with 3 additions and 17 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ SERVER_PID=$!
echo 'Waiting for server...'
sleep 30
curl -o /tmp/audio.wav "http://localhost:8080/api/tts?text=synthesis%20schmynthesis"
curl -o /tmp/audio.wav "http://localhost:5002/api/tts?text=synthesis%20schmynthesis"
python -c 'import sys; import wave; print(wave.open(sys.argv[1]).getnframes())' /tmp/audio.wav
kill $SERVER_PID
+1 -1
View File
@@ -9,7 +9,7 @@ from TTS.tts.utils.text.symbols import make_symbols, phonemes, symbols
from TTS.utils.io import load_config
class DemoServerTest(unittest.TestCase):
class SynthesizerTest(unittest.TestCase):
# pylint: disable=R0201
def _create_random_model(self):
# pylint: disable=global-statement