Undo changes.
Browse files- src/synthesize.py +1 -3
src/synthesize.py
CHANGED
@@ -78,9 +78,7 @@ def synth_espeakng(text:str, model:str):
|
|
78 |
esng = espeakng.Speaker()
|
79 |
esng.voice = model
|
80 |
esng.say(text, export_path="test.wav")
|
81 |
-
|
82 |
-
print(["test.wav" in os.listdir()])
|
83 |
-
|
84 |
sampling_rate, wav = wavfile.read('test.wav')
|
85 |
os.remove("test.wav")
|
86 |
|
|
|
78 |
esng = espeakng.Speaker()
|
79 |
esng.voice = model
|
80 |
esng.say(text, export_path="test.wav")
|
81 |
+
|
|
|
|
|
82 |
sampling_rate, wav = wavfile.read('test.wav')
|
83 |
os.remove("test.wav")
|
84 |
|