Pendrokar commited on
Commit
b287bb8
1 Parent(s): 85bbd7c

max_length: Someone may be sending long texts...

Browse files

... on a Basic CPU run Space.
queue: 2/2 | 245.3/886.3s

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -13,7 +13,8 @@ class TTSWebUI:
13
  inputs=[gr.Textbox(lines=2,
14
  placeholder="write what you want the synthesis to read here...",
15
  value="What I cannot create, I do not understand.",
16
- label="Text input")],
 
17
  outputs=[gr.Audio(type="numpy", label="Speech")],
18
  title=title,
19
  theme="default",
 
13
  inputs=[gr.Textbox(lines=2,
14
  placeholder="write what you want the synthesis to read here...",
15
  value="What I cannot create, I do not understand.",
16
+ label="Text input"),
17
+ max_length=300],
18
  outputs=[gr.Audio(type="numpy", label="Speech")],
19
  title=title,
20
  theme="default",