kiemcut commited on
Commit
f843434
1 Parent(s): 98d4aa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -136,8 +136,8 @@ def text_to_phone_idx(text):
136
 
137
  def text_to_speech(duration_net, generator, text):
138
  # prevent too long text
139
- if len(text) > 500:
140
- text = text[:500]
141
 
142
  phone_idx = text_to_phone_idx(text)
143
  batch = {
 
136
 
137
  def text_to_speech(duration_net, generator, text):
138
  # prevent too long text
139
+ # if len(text) > 500:
140
+ # text = text[:500]
141
 
142
  phone_idx = text_to_phone_idx(text)
143
  batch = {