Nephele commited on
Commit
ee5528e
·
1 Parent(s): 0f06dfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -29,7 +29,7 @@ models = {
29
  "DLM": "./MODELS/DLM.pth",
30
  "BadGirlDLM": "./MODELS/BG1300.pth",
31
  "BadBoyDLM": "./MODELS/BAD1100.pth",
32
- "TEST": "./MODELS/TEST.pth",
33
  }
34
 
35
  def get_text(text, language_str, hps):
@@ -127,7 +127,8 @@ if __name__ == "__main__":
127
  ''')
128
  text = gr.TextArea(label="输入需要生成语音的文字", placeholder="输入文字",
129
  value="在不在?能不能借给我三百块钱买可乐",
130
- info="使用huggingface的免费CPU进行推理,因此速度不快,一次性不要输入超过500汉字。字数越多,生成速度越慢,请耐心等待,只会说中文。",
 
131
  )
132
  model = gr.Radio(choices=list(models.keys()), value=list(models.keys())[0], label='音声模型')
133
  with gr.Accordion(label="展开设置生成参数", open=False):
 
29
  "DLM": "./MODELS/DLM.pth",
30
  "BadGirlDLM": "./MODELS/BG1300.pth",
31
  "BadBoyDLM": "./MODELS/BAD1100.pth",
32
+
33
  }
34
 
35
  def get_text(text, language_str, hps):
 
127
  ''')
128
  text = gr.TextArea(label="输入需要生成语音的文字", placeholder="输入文字",
129
  value="在不在?能不能借给我三百块钱买可乐",
130
+ info="使用huggingface的免费CPU进行推理,因此速度不快,一次性不要输入超过500汉字。字数越多,生成速度越慢,请耐心等待,只会说中文。These models can only speak Chinese for now."
131
+ ,
132
  )
133
  model = gr.Radio(choices=list(models.keys()), value=list(models.keys())[0], label='音声模型')
134
  with gr.Accordion(label="展开设置生成参数", open=False):