Yurii Paniv commited on
Commit
50e8869
·
unverified ·
1 Parent(s): d2e5aba

Lower demo limit to prevent abuse

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def tts(text: str, voice: str):
66
  }
67
 
68
  speaker_name = voice_mapping[voice]
69
- text_limit = 7200
70
  text = (
71
  text if len(text) < text_limit else text[0:text_limit]
72
  ) # mitigate crashes on hf space
 
66
  }
67
 
68
  speaker_name = voice_mapping[voice]
69
+ text_limit = 2000
70
  text = (
71
  text if len(text) < text_limit else text[0:text_limit]
72
  ) # mitigate crashes on hf space