Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ model = Tacotron2Wave('pretrained/tacotron2_ar_adv.pth')
|
|
4 |
#model = model.cuda()
|
5 |
|
6 |
def greet(text):
|
7 |
-
wave = model.tts(
|
8 |
|
9 |
return 22025,wave.view(-1).cpu().numpy()
|
10 |
|
|
|
4 |
#model = model.cuda()
|
5 |
|
6 |
def greet(text):
|
7 |
+
wave = model.tts(text,vowelizer='shakkelha')
|
8 |
|
9 |
return 22025,wave.view(-1).cpu().numpy()
|
10 |
|