ArkanDash commited on
Commit
edf08a9
1 Parent(s): 6fe5063

feat(model): add and disable model

Browse files
app-full.py CHANGED
@@ -170,7 +170,7 @@ if __name__ == '__main__':
170
  else:
171
  net_g = SynthesizerTrnMs256NSFsid_nono(*cpt["config"])
172
  del net_g.enc_q
173
- print(net_g.load_state_dict(cpt["weight"], strict=False)) # 不加这一行清不干净, 真奇葩
174
  net_g.eval().to(config.device)
175
  if config.is_half:
176
  net_g = net_g.half()
@@ -282,4 +282,7 @@ if __name__ == '__main__':
282
  if config.files:
283
  vc_convert.click(cut_vocal_and_inst, vc_youtube, [vc_vocal_preview, vc_inst_preview, vc_audio_preview, vc_input])
284
  vc_combine.click(combine_vocal_and_inst, [vc_output2, vc_volume], vc_outputCombine)
 
 
 
285
  app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab)
 
170
  else:
171
  net_g = SynthesizerTrnMs256NSFsid_nono(*cpt["config"])
172
  del net_g.enc_q
173
+ print(net_g.load_state_dict(cpt["weight"], strict=False))
174
  net_g.eval().to(config.device)
175
  if config.is_half:
176
  net_g = net_g.half()
 
282
  if config.files:
283
  vc_convert.click(cut_vocal_and_inst, vc_youtube, [vc_vocal_preview, vc_inst_preview, vc_audio_preview, vc_input])
284
  vc_combine.click(combine_vocal_and_inst, [vc_output2, vc_volume], vc_outputCombine)
285
+ gr.Markdown('# <center>Changelog 2023.05.14')
286
+ gr.Markdown('- Remove nilou-jp due to outdated model')
287
+ gr.Markdown('- Added ganyu-jp from latest rvc train')
288
  app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab)
app.py CHANGED
@@ -165,8 +165,7 @@ if __name__ == '__main__':
165
  gr.Markdown(
166
  "# <center> RVC Models (Latest Update)\n"
167
  "## <center> The input audio should be clean and pure voice without background music.\n"
168
- "### <center> Recommended to use google colab for more features. \n"
169
- "##### <center> Total_fea.npy is depricated.\n"
170
  "##### <center> Please regenerate your model to latest RVC to fully applied this new rvc.\n"
171
  "[![image](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/110kiMZTdP6Ri1lY9-NbQf17GVPPhHyeT?usp=sharing)\n\n"
172
  "[![Original Repo](https://badgen.net/badge/icon/github?icon=github&label=Original%20Repo)](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)"
@@ -208,4 +207,7 @@ if __name__ == '__main__':
208
  vc_output2 = gr.Audio(label="Output Audio")
209
  vc_submit.click(vc_fn, [vc_input, vc_transpose, vc_f0method, vc_index_ratio, tts_mode, tts_text, tts_voice], [vc_output1, vc_output2])
210
  tts_mode.change(change_to_tts_mode, [tts_mode], [vc_input, tts_text, tts_voice])
 
 
 
211
  app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab)
 
165
  gr.Markdown(
166
  "# <center> RVC Models (Latest Update)\n"
167
  "## <center> The input audio should be clean and pure voice without background music.\n"
168
+ "### <center> [Recommended to use google colab for more features](https://colab.research.google.com/drive/110kiMZTdP6Ri1lY9-NbQf17GVPPhHyeT?usp=sharing) \n"
 
169
  "##### <center> Please regenerate your model to latest RVC to fully applied this new rvc.\n"
170
  "[![image](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/110kiMZTdP6Ri1lY9-NbQf17GVPPhHyeT?usp=sharing)\n\n"
171
  "[![Original Repo](https://badgen.net/badge/icon/github?icon=github&label=Original%20Repo)](https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI)"
 
207
  vc_output2 = gr.Audio(label="Output Audio")
208
  vc_submit.click(vc_fn, [vc_input, vc_transpose, vc_f0method, vc_index_ratio, tts_mode, tts_text, tts_voice], [vc_output1, vc_output2])
209
  tts_mode.change(change_to_tts_mode, [tts_mode], [vc_input, tts_text, tts_voice])
210
+ gr.Markdown('# <center>Changelog 2023.05.14')
211
+ gr.Markdown('- Disable nilou-jp due to an outdated model')
212
+ gr.Markdown('- Added ganyu-jp from latest rvc train')
213
  app.queue(concurrency_count=1, max_size=20, api_open=config.api).launch(share=config.colab)
weights/ganyu-jp/added_IVF1636_Flat_nprobe_1.index ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bee4d6ad7b7f8f0739b3f3f27639b8da7f9ad6fa216e10e98cf933505fe745c5
3
+ size 67551763
weights/ganyu-jp/cover.png ADDED
weights/ganyu-jp/ganyu-jp.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70e71be2ae8ce8929a3a1e95dfa7f6a5c15d7c8a0854ea2bdaf36cf5aaf266b5
3
+ size 55027130
weights/model_info.json CHANGED
@@ -1,10 +1,18 @@
1
  {
2
  "nilou-jp": {
3
- "enable": true,
4
  "name": "nilou-jp",
5
  "title": "Genshin Impact - Nilou",
6
  "cover": "cover.png",
7
  "feature_retrieval_library": "added_IVF218_Flat_nprobe_5.index",
8
  "author":"ArkanDash"
 
 
 
 
 
 
 
 
9
  }
10
  }
 
1
  {
2
  "nilou-jp": {
3
+ "enable": false,
4
  "name": "nilou-jp",
5
  "title": "Genshin Impact - Nilou",
6
  "cover": "cover.png",
7
  "feature_retrieval_library": "added_IVF218_Flat_nprobe_5.index",
8
  "author":"ArkanDash"
9
+ },
10
+ "ganyu-jp": {
11
+ "enable": true,
12
+ "name": "ganyu-jp",
13
+ "title": "Genshin Impact - Ganyu",
14
+ "cover": "cover.png",
15
+ "feature_retrieval_library": "added_IVF1636_Flat_nprobe_1.index",
16
+ "author":"ArkanDash"
17
  }
18
  }