lj1995 commited on
Commit
e7f0523
ยท
1 Parent(s): 1881cbe

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
  )