Spaces:
tsi-org
/
Runtime error

tsi-org commited on
Commit
5aadde3
1 Parent(s): a7ae353

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def pad_buffer(audio):
14
  def generate_voice(text, voice_name):
15
  try:
16
  audio = generate(
17
- text[:250], # Limit to 250 characters
18
  voice=voice_name,
19
  model="eleven_multilingual_v2"
20
  )
 
14
  def generate_voice(text, voice_name):
15
  try:
16
  audio = generate(
17
+ text[:1000], # Limit to 250 characters
18
  voice=voice_name,
19
  model="eleven_multilingual_v2"
20
  )