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

max_length: Someone may be sending long texts... (#1)

Browse files

- max_length: Someone may be sending long texts... (b287bb86c27729732cf925568801da2876420e97)


Co-authored-by: Yanis L <Pendrokar@users.noreply.huggingface.co>

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",