Digital Xingtong commited on
Commit
7b681b2
1 Parent(s): fec9963

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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/OUTPUT_MODEL/G_13900.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")
@@ -116,14 +116,14 @@ if __name__ == "__main__":
116
 
117
  gr.Markdown(value="""
118
  永雏塔菲Bert-Vits2在线语音生成\n
119
- 模型作者:Xz乔希 https://space.bilibili.com/5859321。\n
120
  \n
121
  原项目地址:https://github.com/Stardust-minus/Bert-VITS2\n
122
  使用此模型进行二创请注明AI生成,以及该项目地址。\n
123
  如果想生成超长txt文本的音频请使用colab。 https://colab.research.google.com/drive/13ek8_j1aknr-pbjj3NXxSM4vBIsracU3?usp=drive_link\n
124
  """)
125
  text = gr.TextArea(label="Text", placeholder="Input Text Here",
126
- value="那是流萤吗,是明灭迷离,天真绮丽的憧憬。那是尘埃吧,是虚无纷飞,终将落地的谎言。")
127
  speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
128
  sdp_ratio = gr.Slider(minimum=0, maximum=1, value=0.2, step=0.1, label='语调变化')
129
  noise_scale = gr.Slider(minimum=0.1, maximum=1.5, value=0.6, step=0.1, label='感情变化')
 
75
 
76
  if __name__ == "__main__":
77
  parser = argparse.ArgumentParser()
78
+ parser.add_argument("--model_dir", default="./logs/TF/G_1800.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")
 
116
 
117
  gr.Markdown(value="""
118
  永雏塔菲Bert-Vits2在线语音生成\n
119
+ 模型作者:Xz乔希 https://space.bilibili.com/5859321\n
120
  \n
121
  原项目地址:https://github.com/Stardust-minus/Bert-VITS2\n
122
  使用此模型进行二创请注明AI生成,以及该项目地址。\n
123
  如果想生成超长txt文本的音频请使用colab。 https://colab.research.google.com/drive/13ek8_j1aknr-pbjj3NXxSM4vBIsracU3?usp=drive_link\n
124
  """)
125
  text = gr.TextArea(label="Text", placeholder="Input Text Here",
126
+ value="这里是数字星瞳企画,请在电报搜索星瞳全拼加二五六八零,获取最新更新进展。")
127
  speaker = gr.Dropdown(choices=speakers, value=speakers[0], label='Speaker')
128
  sdp_ratio = gr.Slider(minimum=0, maximum=1, value=0.2, step=0.1, label='语调变化')
129
  noise_scale = gr.Slider(minimum=0.1, maximum=1.5, value=0.6, step=0.1, label='感情变化')