Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def run_cmd(command):
|
|
18 |
sys.exit(1)
|
19 |
|
20 |
def inference(text):
|
21 |
-
cmd = ['tts', '--text', "".join(korean.tokenize(text)), '--model_path', 'vits-kss-checkpoint_90000.pth', '--config_path', 'vits-kss-config.json', '--out_path' 'tts_output.wav']
|
22 |
run_cmd(cmd)
|
23 |
return 'tts_output.wav'
|
24 |
|
|
|
18 |
sys.exit(1)
|
19 |
|
20 |
def inference(text):
|
21 |
+
cmd = ['tts', '--text', "".join(korean.tokenize(text)), '--model_path', 'vits-kss-checkpoint_90000.pth', '--config_path', 'vits-kss-config.json', '--out_path', 'tts_output.wav']
|
22 |
run_cmd(cmd)
|
23 |
return 'tts_output.wav'
|
24 |
|