XXXXRT666 commited on
Commit
2d2d26d
ยท
1 Parent(s): 6c750ff
Files changed (1) hide show
  1. inference_webui.py +9 -8
inference_webui.py CHANGED
@@ -734,7 +734,7 @@ def html_left(text, label="p"):
734
  </div>"""
735
 
736
 
737
- with gr.Blocks(title="GPT-SoVITS WebUI", analytics_enabled=False) as app:
738
  gr.Markdown(
739
  value="""# GPT-SoVITS-ProPlus Zero-shot TTS demo
740
  ## https://github.com/RVC-Boss/GPT-SoVITS
@@ -756,14 +756,15 @@ This demo is open source under the MIT license. The author does not have any con
756
  interactive=True,
757
  show_label=True,
758
  )
759
- gr.Markdown(
760
- html_left(
761
- i18n(
762
- "ไฝฟ็”จๆ— ๅ‚่€ƒๆ–‡ๆœฌๆจกๅผๆ—ถๅปบ่ฎฎไฝฟ็”จๅพฎ่ฐƒ็š„GPT๏ผŒๅฌไธๆธ…ๅ‚่€ƒ้Ÿณ้ข‘่ฏด็š„ๅ•ฅ(ไธๆ™“ๅพ—ๅ†™ๅ•ฅ)ๅฏไปฅๅผ€ใ€‚<br>ๅผ€ๅฏๅŽๆ— ่ง†ๅกซๅ†™็š„ๅ‚่€ƒๆ–‡ๆœฌใ€‚"
763
- )
764
- )
 
 
765
  )
766
- prompt_text = gr.Textbox(label=i18n("ๅ‚่€ƒ้Ÿณ้ข‘็š„ๆ–‡ๆœฌ"), value="", lines=3, max_lines=3)
767
  prompt_language = gr.Dropdown(
768
  label=i18n("ๅ‚่€ƒ้Ÿณ้ข‘็š„่ฏญ็ง"), choices=list(dict_language.keys()), value=i18n("ไธญๆ–‡")
769
  )
 
734
  </div>"""
735
 
736
 
737
+ with gr.Blocks(title="GPT-SoVITS WebUI", theme=gr.themes.Soft(), analytics_enabled=False) as app:
738
  gr.Markdown(
739
  value="""# GPT-SoVITS-ProPlus Zero-shot TTS demo
740
  ## https://github.com/RVC-Boss/GPT-SoVITS
 
756
  interactive=True,
757
  show_label=True,
758
  )
759
+ prompt_text = gr.Textbox(
760
+ label=i18n("ๅ‚่€ƒ้Ÿณ้ข‘็š„ๆ–‡ๆœฌ"),
761
+ value="",
762
+ lines=3,
763
+ max_lines=3,
764
+ info=i18n(
765
+ "ไฝฟ็”จๆ— ๅ‚่€ƒๆ–‡ๆœฌๆจกๅผๆ—ถๅปบ่ฎฎไฝฟ็”จๅพฎ่ฐƒ็š„GPT๏ผŒๅฌไธๆธ…ๅ‚่€ƒ้Ÿณ้ข‘่ฏด็š„ๅ•ฅ(ไธๆ™“ๅพ—ๅ†™ๅ•ฅ)ๅฏไปฅๅผ€ใ€‚<br>ๅผ€ๅฏๅŽๆ— ่ง†ๅกซๅ†™็š„ๅ‚่€ƒๆ–‡ๆœฌใ€‚"
766
+ ),
767
  )
 
768
  prompt_language = gr.Dropdown(
769
  label=i18n("ๅ‚่€ƒ้Ÿณ้ข‘็š„่ฏญ็ง"), choices=list(dict_language.keys()), value=i18n("ไธญๆ–‡")
770
  )