OnceUponAYawn commited on
Commit
1a4df39
1 Parent(s): 57d3bbf

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[:5000], # Limit to 5000 characters
18
  voice=voice_name,
19
  model="eleven_multilingual_v2"
20
  )