Update app.py
Browse files
app.py
CHANGED
|
@@ -446,7 +446,7 @@ async def text_to_speech_edge(text, language_code, speaker, tashkeel_checkbox=Fa
|
|
| 446 |
# Define the character limit
|
| 447 |
char_limit = 10000
|
| 448 |
if len(text) > char_limit:
|
| 449 |
-
return f"Error: Use
|
| 450 |
|
| 451 |
# Get the voice for the selected language and speaker
|
| 452 |
voice = language_dict[language_code][speaker]
|
|
|
|
| 446 |
# Define the character limit
|
| 447 |
char_limit = 10000
|
| 448 |
if len(text) > char_limit:
|
| 449 |
+
return f"Error: Use 1500 Words at a time. Upgrade to Premium if you want Unlimited. ", None
|
| 450 |
|
| 451 |
# Get the voice for the selected language and speaker
|
| 452 |
voice = language_dict[language_code][speaker]
|