Spaces:
Runtime error
Runtime error
NeuroSenko
commited on
Commit
•
5d68da9
1
Parent(s):
8f40c33
formatting fix
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def change_model(language, model_name):
|
|
59 |
def generate_audio_by_text(text, text_type, speaker):
|
60 |
output_file_name = "{datetime}.wav".format(datetime=datetime.now().isoformat().replace(':', '-'))
|
61 |
output = os.path.join("out_audio", output_file_name)
|
62 |
-
|
63 |
if text_type == 'SSML':
|
64 |
return model.save_wav(
|
65 |
audio_path=output,
|
|
|
59 |
def generate_audio_by_text(text, text_type, speaker):
|
60 |
output_file_name = "{datetime}.wav".format(datetime=datetime.now().isoformat().replace(':', '-'))
|
61 |
output = os.path.join("out_audio", output_file_name)
|
62 |
+
|
63 |
if text_type == 'SSML':
|
64 |
return model.save_wav(
|
65 |
audio_path=output,
|