Spaces:
yuuki5
/
Runtime error

yuuki5 commited on
Commit
b19d22d
Β·
verified Β·
1 Parent(s): fe6e647

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -191,7 +191,7 @@ if __name__ == '__main__':
191
  f"{cover_markdown}"
192
  f"model author: {author}\n\n"
193
  f"language: {lang}")
194
- tts_input1 = gr.TextArea(label="Text (150 words limitation)", value=example,
195
  elem_id=f"tts-input{i}")
196
  tts_input2 = gr.Dropdown(label="Speaker", choices=speakers,
197
  type="index", value=speakers[0])
@@ -245,7 +245,7 @@ if __name__ == '__main__':
245
  value=speakers[0])
246
  vc_input2 = gr.Dropdown(label="Target Speaker", choices=speakers, type="index",
247
  value=speakers[min(len(speakers) - 1, 1)])
248
- vc_input3 = gr.Audio(label="Input Audio (30s limitation)")
249
  vc_submit = gr.Button("Convert", variant="primary")
250
  vc_output1 = gr.Textbox(label="Output Message")
251
  vc_output2 = gr.Audio(label="Output Audio", elem_id=f"vc-audio{i}")
@@ -261,7 +261,7 @@ if __name__ == '__main__':
261
  f"model author: {author}")
262
  vc_input1 = gr.Dropdown(label="Target Speaker", choices=speakers, type="index",
263
  value=speakers[0])
264
- vc_input2 = gr.Audio(label="Input Audio (30s limitation)")
265
  vc_submit = gr.Button("Convert", variant="primary")
266
  vc_output1 = gr.Textbox(label="Output Message")
267
  vc_output2 = gr.Audio(label="Output Audio", elem_id=f"svc-audio{i}")
 
191
  f"{cover_markdown}"
192
  f"model author: {author}\n\n"
193
  f"language: {lang}")
194
+ tts_input1 = gr.TextArea(label="Text (100000000 words limitation)", value=example,
195
  elem_id=f"tts-input{i}")
196
  tts_input2 = gr.Dropdown(label="Speaker", choices=speakers,
197
  type="index", value=speakers[0])
 
245
  value=speakers[0])
246
  vc_input2 = gr.Dropdown(label="Target Speaker", choices=speakers, type="index",
247
  value=speakers[min(len(speakers) - 1, 1)])
248
+ vc_input3 = gr.Audio(label="Input Audio (180s limitation)")
249
  vc_submit = gr.Button("Convert", variant="primary")
250
  vc_output1 = gr.Textbox(label="Output Message")
251
  vc_output2 = gr.Audio(label="Output Audio", elem_id=f"vc-audio{i}")
 
261
  f"model author: {author}")
262
  vc_input1 = gr.Dropdown(label="Target Speaker", choices=speakers, type="index",
263
  value=speakers[0])
264
+ vc_input2 = gr.Audio(label="Input Audio (180s limitation)")
265
  vc_submit = gr.Button("Convert", variant="primary")
266
  vc_output1 = gr.Textbox(label="Output Message")
267
  vc_output2 = gr.Audio(label="Output Audio", elem_id=f"svc-audio{i}")