maxmax20160403 commited on
Commit
b92a53d
·
1 Parent(s): c167726

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -133,7 +133,7 @@ def svc_change(argswav, argsspk):
133
  sub_vec = vec[cut_s:cut_e, :].to(device)
134
  sub_pit = pit[cut_s:cut_e].to(device)
135
 
136
- sub_out = gvc_main(device, model, sub_vec, sub_pit, spk, 1.015)
137
  sub_out = sub_out[:, cut_s_out:cut_e_out]
138
 
139
  out_index = out_index + out_chunk
@@ -197,13 +197,13 @@ app = gr.Blocks()
197
  with app:
198
  with gr.Tabs():
199
  with gr.TabItem("Grad-SVC"):
200
- gr.Markdown(value="""
201
- 基于开源数据:Multi-Singer
202
-
203
- https://github.com/Multi-Singer/Multi-Singer.github.io
204
-
205
- 基于diffusion技术
206
- """)
207
  sid = gr.Dropdown(label="音色", choices=[
208
  "22", "33", "47", "51"], value="47")
209
  vc_input3 = gr.Audio(label="上传音频")
 
133
  sub_vec = vec[cut_s:cut_e, :].to(device)
134
  sub_pit = pit[cut_s:cut_e].to(device)
135
 
136
+ sub_out = gvc_main(device, model, sub_vec, sub_pit, spk, 0.95)
137
  sub_out = sub_out[:, cut_s_out:cut_e_out]
138
 
139
  out_index = out_index + out_chunk
 
197
  with app:
198
  with gr.Tabs():
199
  with gr.TabItem("Grad-SVC"):
200
+ gr.Markdown(
201
+ "Based on Grad-TTS from HUAWEI Noah's Ark Lab\n\n"
202
+ "This project is named as [Grad-SVC](), or [GVC]() for short. Its core technology is diffusion, but so different from other diffusion based SVC models.\n\n"
203
+ "<video id='video' controls='' preload='yes'>\n\n"
204
+ "<source id='mp4' src='https://github.com/PlayVoice/Grad-SVC/assets/16432329/f9b66af7-b5b5-4efb-b73d-adb0dc84a0ae' type='video/mp4'>\n\n"
205
+ "</videos>\n\n"
206
+ )
207
  sid = gr.Dropdown(label="音色", choices=[
208
  "22", "33", "47", "51"], value="47")
209
  vc_input3 = gr.Audio(label="上传音频")