ntt123 commited on
Commit
daea792
1 Parent(s): f4d29b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,8 +15,8 @@ def download_assets():
15
 
16
  def text_to_speech(text):
17
  # prevent too long text
18
- if len(text) > 100:
19
- text = text[:100]
20
  text = nat_normalize_text(text)
21
  mel = text2mel(
22
  text,
 
15
 
16
  def text_to_speech(text):
17
  # prevent too long text
18
+ if len(text) > 500:
19
+ text = text[:500]
20
  text = nat_normalize_text(text)
21
  mel = text2mel(
22
  text,