Spaces:
Running
Running
Yurii Paniv
commited on
Lower demo limit to prevent abuse
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ def tts(text: str, voice: str):
|
|
66 |
}
|
67 |
|
68 |
speaker_name = voice_mapping[voice]
|
69 |
-
text_limit =
|
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
|