mirror of
https://github.com/wassname/TTS.git
synced 2026-09-11 12:00:24 +08:00
bunch of short fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user