quinnpertuit commited on
Commit
e70b4ea
·
1 Parent(s): b0c6568

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -19,7 +19,7 @@ from so_vits_svc_fork.inference.core import Svc
19
  # REPLACE THESE VALUES TO CHANGE THE MODEL REPO/CKPT NAME/SETTINGS
20
  ###################################################################
21
  # The Hugging Face Hub repo ID
22
- repo_id = "dog/kanye"
23
 
24
  # If None, Uses latest ckpt in the repo
25
  ckpt_name = None
@@ -161,20 +161,15 @@ def predict(
161
  )
162
  return model.target_sample, audio
163
 
164
- SPACE_ID = "nateraw/voice-cloning"
165
  description = f"""
166
- # Attention - This Space may be slow in the shared UI if there is a long queue. To speed it up, you can duplicate and use it with a paid private T4 GPU.
167
 
168
- <center><a class="duplicate-button" style="display:inline-block" target="_blank" href="https://huggingface.co/spaces/{SPACE_ID}?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a></center>
169
 
170
- #### This app uses models trained with [so-vits-svc-fork](https://github.com/voicepaw/so-vits-svc-fork) to clone a voice. Model currently being used is https://hf.co/{repo_id}. To change the model being served, duplicate the space and update the `repo_id`/other settings in `app.py`.
171
 
172
- #### Train Your Own: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/nateraw/voice-cloning/blob/main/training_so_vits_svc_fork.ipynb)
173
- """.strip()
174
 
175
  article = """
176
  <p style='text-align: center'>
177
- <a href='https://github.com/voicepaw/so-vits-svc-fork' target='_blank'>Github Repo</a>
178
  </p>
179
  """.strip()
180
 
 
19
  # REPLACE THESE VALUES TO CHANGE THE MODEL REPO/CKPT NAME/SETTINGS
20
  ###################################################################
21
  # The Hugging Face Hub repo ID
22
+ repo_id = "QuickWick/Music-AI-Voices" # "dog/kanye"
23
 
24
  # If None, Uses latest ckpt in the repo
25
  ckpt_name = None
 
161
  )
162
  return model.target_sample, audio
163
 
164
+ SPACE_ID = "quinnpertuit/drake-ai-v1"
165
  description = f"""
 
166
 
 
167
 
 
168
 
 
 
169
 
170
  article = """
171
  <p style='text-align: center'>
172
+ <a href='https://github.com/quinnpertuit/so-vits-svc-fork' target='_blank'>repo</a>
173
  </p>
174
  """.strip()
175