XzJosh commited on
Commit
7c62a48
1 Parent(s): 66a6dd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -75,7 +75,7 @@ def tts_fn(text, speaker, sdp_ratio, noise_scale, noise_scale_w, length_scale):
75
 
76
  if __name__ == "__main__":
77
  parser = argparse.ArgumentParser()
78
- parser.add_argument("--model_dir", default="./logs/Carol/G_12600.pth", help="path of your model")
79
  parser.add_argument("--config_dir", default="./configs/config.json", help="path of your config file")
80
  parser.add_argument("--share", default=False, help="make link public")
81
  parser.add_argument("-d", "--debug", action="store_true", help="enable DEBUG-LEVEL log")
@@ -113,19 +113,20 @@ if __name__ == "__main__":
113
  with gr.Row():
114
  with gr.Column():
115
  gr.Markdown(value="""
116
- 【AI珈乐】在线语音合成(Bert-Vits2)\n
117
  作者:Xz乔希 https://space.bilibili.com/5859321\n
118
- 声音归属:珈乐Carol https://space.bilibili.com/351609538\n
119
  Bert-VITS2项目:https://github.com/Stardust-minus/Bert-VITS2\n
120
  【AI塔菲】https://huggingface.co/spaces/XzJosh/Taffy-Bert-VITS2\n
121
  【AI东雪莲】https://huggingface.co/spaces/XzJosh/Azuma-Bert-VITS2\n
122
  【AI奶绿】https://huggingface.co/spaces/XzJosh/LAPLACE-Bert-VITS2\n
123
  【AI尼奈】https://huggingface.co/spaces/XzJosh/nine1-Bert-VITS2\n
 
124
  使用本模型请严格遵守法律法规!\n
125
  发布二创作品请标注本项目作者及链接、作品使用Bert-VITS2 AI生成!\n
126
  """)
127
  text = gr.TextArea(label="Text", placeholder="Input Text Here",
128
- value="你好自我介绍一下,我是王力口乐。")
129
  speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
130
  sdp_ratio = gr.Slider(minimum=0.1, maximum=1, value=0.2, step=0.1, label='SDP/DP混合比')
131
  noise_scale = gr.Slider(minimum=0.1, maximum=1, value=0.5, step=0.1, label='感情调节')
 
75
 
76
  if __name__ == "__main__":
77
  parser = argparse.ArgumentParser()
78
+ parser.add_argument("--model_dir", default="./logs/otto/G_5900.pth", help="path of your model")
79
  parser.add_argument("--config_dir", default="./configs/config.json", help="path of your config file")
80
  parser.add_argument("--share", default=False, help="make link public")
81
  parser.add_argument("-d", "--debug", action="store_true", help="enable DEBUG-LEVEL log")
 
113
  with gr.Row():
114
  with gr.Column():
115
  gr.Markdown(value="""
116
+ 【AI电棍】在线语音合成(Bert-Vits2)\n
117
  作者:Xz乔希 https://space.bilibili.com/5859321\n
118
+ 声音归属:电棍otto https://space.bilibili.com/628845081\n
119
  Bert-VITS2项目:https://github.com/Stardust-minus/Bert-VITS2\n
120
  【AI塔菲】https://huggingface.co/spaces/XzJosh/Taffy-Bert-VITS2\n
121
  【AI东雪莲】https://huggingface.co/spaces/XzJosh/Azuma-Bert-VITS2\n
122
  【AI奶绿】https://huggingface.co/spaces/XzJosh/LAPLACE-Bert-VITS2\n
123
  【AI尼奈】https://huggingface.co/spaces/XzJosh/nine1-Bert-VITS2\n
124
+ 【AI珈乐】https://huggingface.co/spaces/XzJosh/Carol-Bert-VITS2\n
125
  使用本模型请严格遵守法律法规!\n
126
  发布二创作品请标注本项目作者及链接、作品使用Bert-VITS2 AI生成!\n
127
  """)
128
  text = gr.TextArea(label="Text", placeholder="Input Text Here",
129
+ value="大家好啊,我是电棍。今天来点大家想看的东西啊。")
130
  speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
131
  sdp_ratio = gr.Slider(minimum=0.1, maximum=1, value=0.2, step=0.1, label='SDP/DP混合比')
132
  noise_scale = gr.Slider(minimum=0.1, maximum=1, value=0.5, step=0.1, label='感情调节')