hivecorp commited on
Commit
afe6752
·
verified ·
1 Parent(s): 1110741

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 {char_limit} Characters 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]
 
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]