lj1995 commited on
Commit
6209a3c
·
verified ·
1 Parent(s): 1cdf363

Update inference_webui.py

Browse files
Files changed (1) hide show
  1. inference_webui.py +2 -13
inference_webui.py CHANGED
@@ -1,11 +1,3 @@
1
- '''
2
- 按中英混合识别
3
- 按日英混合识别
4
- 多语种启动切分识别语种
5
- 全部按中文识别
6
- 全部按英文识别
7
- 全部按日文识别
8
- '''
9
  import os
10
  os.makedirs("pretrained_models",exist_ok=True)
11
  from huggingface_hub import snapshot_download
@@ -653,7 +645,7 @@ def html_left(text, label='p'):
653
 
654
  with gr.Blocks(title="GPT-SoVITS WebUI") as app:
655
  gr.Markdown(
656
- value="""# GPT-SoVITS-v2 Zero-shot TTS demo
657
  ## https://github.com/RVC-Boss/GPT-SoVITS
658
  Input 3 to 10s reference audio to guide the time-bre, speed, emotion of voice, and generate the speech you want by input the inference text. <br>
659
  输入3至10秒的参考音频来引导待合成语音的音色、语速和情感,然后输入待合成目标文本,生成目标语音. <br>
@@ -707,11 +699,8 @@ This demo is open source under the MIT license. The author does not have any con
707
  )
708
 
709
  if __name__ == '__main__':
710
- # app.queue(concurrency_count=511, max_size=1022).launch(
711
  app.queue().launch(
712
  server_name="0.0.0.0",
713
  inbrowser=True,
714
- # share=True,
715
- # server_port=infer_ttswebui,
716
- # quiet=True,
717
  )
 
 
 
 
 
 
 
 
 
1
  import os
2
  os.makedirs("pretrained_models",exist_ok=True)
3
  from huggingface_hub import snapshot_download
 
645
 
646
  with gr.Blocks(title="GPT-SoVITS WebUI") as app:
647
  gr.Markdown(
648
+ value="""# GPT-SoVITS-ProPlus Zero-shot TTS demo
649
  ## https://github.com/RVC-Boss/GPT-SoVITS
650
  Input 3 to 10s reference audio to guide the time-bre, speed, emotion of voice, and generate the speech you want by input the inference text. <br>
651
  输入3至10秒的参考音频来引导待合成语音的音色、语速和情感,然后输入待合成目标文本,生成目标语音. <br>
 
699
  )
700
 
701
  if __name__ == '__main__':
 
702
  app.queue().launch(
703
  server_name="0.0.0.0",
704
  inbrowser=True,
705
+ show_api=False,
 
 
706
  )