Spaces:
Runtime error
Runtime error
Update inference_webui.py
Browse files- 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-
|
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 |
-
|
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 |
)
|