Serhiy Stetskovych
commited on
Commit
•
a926d6a
1
Parent(s):
1828e31
Fix dep
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ description = f'''
|
|
32 |
def synthesise(text, voice):
|
33 |
output = model.synthesize(text, voice = voice, steps = 8, alpha = 0.1)
|
34 |
waveform = output['wav']
|
35 |
-
return (24000, waveform.
|
36 |
|
37 |
if __name__ == "__main__":
|
38 |
i = gr.Interface(
|
|
|
32 |
def synthesise(text, voice):
|
33 |
output = model.synthesize(text, voice = voice, steps = 8, alpha = 0.1)
|
34 |
waveform = output['wav']
|
35 |
+
return (24000, waveform.cpu().squeeze().numpy())
|
36 |
|
37 |
if __name__ == "__main__":
|
38 |
i = gr.Interface(
|