Martijn Bartelds
commited on
Commit
·
2bd7a99
1
Parent(s):
17722e5
Update app
Browse files
app.py
CHANGED
@@ -25,14 +25,14 @@ def inference(text,lang):
|
|
25 |
scipy.io.wavfile.write("out.wav", gos_text2speech.fs , wav.view(-1).cpu().numpy())
|
26 |
if lang == "Oldambsters":
|
27 |
wav = gos_text2speech(text, sids=np.array([2]))["wav"]
|
28 |
-
scipy.io.wavfile.write("out.wav",
|
29 |
if lang == "Westerkwartiers":
|
30 |
wav = gos_text2speech(text, sids=np.array([3]))["wav"]
|
31 |
-
scipy.io.wavfile.write("out.wav",
|
32 |
|
33 |
return "out.wav", "out.wav"
|
34 |
|
35 |
-
title = "
|
36 |
examples = [
|
37 |
['Ze gingen mit klas noar waddendiek, over en deur bragel lopen.', 'Hoogelaandsters']
|
38 |
]
|
|
|
25 |
scipy.io.wavfile.write("out.wav", gos_text2speech.fs , wav.view(-1).cpu().numpy())
|
26 |
if lang == "Oldambsters":
|
27 |
wav = gos_text2speech(text, sids=np.array([2]))["wav"]
|
28 |
+
scipy.io.wavfile.write("out.wav", gos_text2speech.fs , wav.view(-1).cpu().numpy())
|
29 |
if lang == "Westerkwartiers":
|
30 |
wav = gos_text2speech(text, sids=np.array([3]))["wav"]
|
31 |
+
scipy.io.wavfile.write("out.wav", gos_text2speech.fs , wav.view(-1).cpu().numpy())
|
32 |
|
33 |
return "out.wav", "out.wav"
|
34 |
|
35 |
+
title = "GROTTS"
|
36 |
examples = [
|
37 |
['Ze gingen mit klas noar waddendiek, over en deur bragel lopen.', 'Hoogelaandsters']
|
38 |
]
|