Spaces:
Runtime error
Runtime error
ls kinyarwanda tts
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def generate_audio(text):
|
|
25 |
# if synthesizer is None:
|
26 |
# raise NameError("model not found")
|
27 |
#tts_engine= TextToSpeech()
|
28 |
-
text1 = subprocess.check_output("pwd", shell=True)+ subprocess.check_output("ls", shell=True)
|
29 |
text2 = text1.decode("utf-8")
|
30 |
return text2
|
31 |
# with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
|
|
|
25 |
# if synthesizer is None:
|
26 |
# raise NameError("model not found")
|
27 |
#tts_engine= TextToSpeech()
|
28 |
+
text1 = subprocess.check_output("pwd", shell=True)+ subprocess.check_output("ls Kinyarwanda_YourTTS", shell=True)
|
29 |
text2 = text1.decode("utf-8")
|
30 |
return text2
|
31 |
# with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
|