XzJosh commited on
Commit
4b10a71
1 Parent(s): 82bc8e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
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/WaiMai/G_2900.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,15 +113,15 @@ 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
- 声音归属:扇宝 https://space.bilibili.com/698438232\n
119
  Bert-VITS2项目:https://github.com/Stardust-minus/Bert-VITS2\n
120
  使用本模型请严格遵守法律法规!\n
121
  发布二创作品请标注本项目作者及链接、作品使用Bert-VITS2 AI生成!\n
122
  """)
123
  text = gr.TextArea(label="Text", placeholder="Input Text Here",
124
- value="大家好呀,我是外卖姐姐")
125
  speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
126
  sdp_ratio = gr.Slider(minimum=0.1, maximum=1, value=0.2, step=0.01, label='SDP/DP混合比')
127
  noise_scale = gr.Slider(minimum=0.1, maximum=1, value=0.5, step=0.01, label='感情调节')
@@ -136,18 +136,18 @@ if __name__ == "__main__":
136
  【AI东雪莲】https://huggingface.co/spaces/XzJosh/Azuma-Bert-VITS2\n
137
  【AI奶绿】https://huggingface.co/spaces/XzJosh/LAPLACE-Bert-VITS2\n
138
  【AI七海】https://huggingface.co/spaces/XzJosh/Nana7mi-Bert-VITS2\n
 
139
  【AI阿梓】https://huggingface.co/spaces/XzJosh/Azusa-Bert-VITS2\n
140
  【AI嘉然】https://huggingface.co/spaces/XzJosh/Diana-Bert-VITS2\n
141
  【AI向晚】https://huggingface.co/spaces/XzJosh/Ava-Bert-VITS2\n
142
  【AI乃琳】https://huggingface.co/spaces/XzJosh/Eileen-Bert-VITS2\n
143
  【AI贝拉】https://huggingface.co/spaces/XzJosh/Bella-Bert-VITS2\n
144
  【AI珈乐】https://huggingface.co/spaces/XzJosh/Carol-Bert-VITS2\n
145
- 【AI星瞳】https://huggingface.co/spaces/XzJosh/XingTong-Bert-VITS2\n
146
  【AI尼奈】https://huggingface.co/spaces/XzJosh/nine1-Bert-VITS2\n
147
  【AI扇宝】https://huggingface.co/spaces/XzJosh/ShanBao-Bert-VITS2\n
148
  【AI剑魔】https://huggingface.co/spaces/XzJosh/Aatrox-Bert-VITS2\n
149
  【AI电棍】https://huggingface.co/spaces/XzJosh/otto-Bert-VITS2\n
150
- 【AI恬豆】https://huggingface.co/spaces/XzJosh/Bekki-Bert-VITS2\n
151
  """)
152
  btn.click(tts_fn,
153
  inputs=[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/Lumi/G_3800.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
+ 声音归属:yoyo鹿鸣_Lumi https://space.bilibili.com/488836173\n
119
  Bert-VITS2项目:https://github.com/Stardust-minus/Bert-VITS2\n
120
  使用本模型请严格遵守法律法规!\n
121
  发布二创作品请标注本项目作者及链接、作品使用Bert-VITS2 AI生成!\n
122
  """)
123
  text = gr.TextArea(label="Text", placeholder="Input Text Here",
124
+ value="大家好呀,嘿嘿,我是鹿鸣")
125
  speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
126
  sdp_ratio = gr.Slider(minimum=0.1, maximum=1, value=0.2, step=0.01, label='SDP/DP混合比')
127
  noise_scale = gr.Slider(minimum=0.1, maximum=1, value=0.5, step=0.01, label='感情调节')
 
136
  【AI东雪莲】https://huggingface.co/spaces/XzJosh/Azuma-Bert-VITS2\n
137
  【AI奶绿】https://huggingface.co/spaces/XzJosh/LAPLACE-Bert-VITS2\n
138
  【AI七海】https://huggingface.co/spaces/XzJosh/Nana7mi-Bert-VITS2\n
139
+ 【AI星瞳】https://huggingface.co/spaces/XzJosh/XingTong-Bert-VITS2\n
140
  【AI阿梓】https://huggingface.co/spaces/XzJosh/Azusa-Bert-VITS2\n
141
  【AI嘉然】https://huggingface.co/spaces/XzJosh/Diana-Bert-VITS2\n
142
  【AI向晚】https://huggingface.co/spaces/XzJosh/Ava-Bert-VITS2\n
143
  【AI乃琳】https://huggingface.co/spaces/XzJosh/Eileen-Bert-VITS2\n
144
  【AI贝拉】https://huggingface.co/spaces/XzJosh/Bella-Bert-VITS2\n
145
  【AI珈乐】https://huggingface.co/spaces/XzJosh/Carol-Bert-VITS2\n
146
+ 【AI恬豆】https://huggingface.co/spaces/XzJosh/Bekki-Bert-VITS2\n
147
  【AI尼奈】https://huggingface.co/spaces/XzJosh/nine1-Bert-VITS2\n
148
  【AI扇宝】https://huggingface.co/spaces/XzJosh/ShanBao-Bert-VITS2\n
149
  【AI剑魔】https://huggingface.co/spaces/XzJosh/Aatrox-Bert-VITS2\n
150
  【AI电棍】https://huggingface.co/spaces/XzJosh/otto-Bert-VITS2\n
 
151
  """)
152
  btn.click(tts_fn,
153
  inputs=[text, speaker, sdp_ratio, noise_scale, noise_scale_w, length_scale],