Spaces:
Runtime error
Runtime error
XXXXRT666
commited on
Commit
Β·
0e657a0
1
Parent(s):
2d2d26d
- inference_webui.py +2 -1
inference_webui.py
CHANGED
|
@@ -66,6 +66,7 @@ bert_path = os.environ.get("bert_path", "pretrained_models/chinese-roberta-wwm-e
|
|
| 66 |
|
| 67 |
punctuation = set(["!", "?", "β¦", ",", ".", "-", " "])
|
| 68 |
import gradio as gr
|
|
|
|
| 69 |
import librosa
|
| 70 |
import numpy as np
|
| 71 |
from transformers import AutoModelForMaskedLM, AutoTokenizer
|
|
@@ -734,7 +735,7 @@ def html_left(text, label="p"):
|
|
| 734 |
</div>"""
|
| 735 |
|
| 736 |
|
| 737 |
-
with gr.Blocks(title="GPT-SoVITS WebUI", theme=
|
| 738 |
gr.Markdown(
|
| 739 |
value="""# GPT-SoVITS-ProPlus Zero-shot TTS demo
|
| 740 |
## https://github.com/RVC-Boss/GPT-SoVITS
|
|
|
|
| 66 |
|
| 67 |
punctuation = set(["!", "?", "β¦", ",", ".", "-", " "])
|
| 68 |
import gradio as gr
|
| 69 |
+
import gradio.themes as themes
|
| 70 |
import librosa
|
| 71 |
import numpy as np
|
| 72 |
from transformers import AutoModelForMaskedLM, AutoTokenizer
|
|
|
|
| 735 |
</div>"""
|
| 736 |
|
| 737 |
|
| 738 |
+
with gr.Blocks(title="GPT-SoVITS WebUI", theme=themes.Soft(), analytics_enabled=False) as app:
|
| 739 |
gr.Markdown(
|
| 740 |
value="""# GPT-SoVITS-ProPlus Zero-shot TTS demo
|
| 741 |
## https://github.com/RVC-Boss/GPT-SoVITS
|