tobiccino commited on
Commit
2569a74
1 Parent(s): 1ec51d3

add stop duration option

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def text_to_speech(text,stop_duration_text):
11
  # prevent too long text
12
  if len(text) > 500:
13
  text = text[:500]
14
- float stop_duration_float=float(stop_duration_text)
15
  text = nat_normalize_text(text)
16
  mel = text2mel(
17
  text,
 
11
  # prevent too long text
12
  if len(text) > 500:
13
  text = text[:500]
14
+ stop_duration_float = float(stop_duration_text)
15
  text = nat_normalize_text(text)
16
  mel = text2mel(
17
  text,