Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def generate_voice(text, voice_name):
|
|
15 |
try:
|
16 |
audio = generate(
|
17 |
text[:250], # Limit to 250 characters
|
18 |
-
voice=
|
19 |
model="eleven_multilingual_v2"
|
20 |
)
|
21 |
return (44100, np.frombuffer(pad_buffer(audio), dtype=np.int16))
|
|
|
15 |
try:
|
16 |
audio = generate(
|
17 |
text[:250], # Limit to 250 characters
|
18 |
+
voice="4IIbmLCrUHVECt0f11U7",
|
19 |
model="eleven_multilingual_v2"
|
20 |
)
|
21 |
return (44100, np.frombuffer(pad_buffer(audio), dtype=np.int16))
|