Spaces:
Runtime error
Runtime error
malvin noel
commited on
Commit
·
9afa8dd
1
Parent(s):
90310a8
load model correction
Browse files
scripts/generate_voice.py
CHANGED
|
@@ -14,6 +14,7 @@ ENGLISH_VOICES = [
|
|
| 14 |
"am_fenrir"
|
| 15 |
]
|
| 16 |
|
|
|
|
| 17 |
def generate_voice(text: str, path: str):
|
| 18 |
for voice in random.sample(ENGLISH_VOICES, len(ENGLISH_VOICES)):
|
| 19 |
try:
|
|
|
|
| 14 |
"am_fenrir"
|
| 15 |
]
|
| 16 |
|
| 17 |
+
@spaces.GPU()
|
| 18 |
def generate_voice(text: str, path: str):
|
| 19 |
for voice in random.sample(ENGLISH_VOICES, len(ENGLISH_VOICES)):
|
| 20 |
try:
|