Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -194,10 +194,17 @@ def predict_song_from_yt(
|
|
194 |
full_song = inst_wav + np.expand_dims(cloned_vox, 1)
|
195 |
return (model.target_sample, full_song), (model.target_sample, cloned_vox)
|
196 |
|
197 |
-
|
198 |
description = f"""
|
199 |
-
This
|
200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
""".strip()
|
202 |
|
203 |
article = """
|
|
|
194 |
full_song = inst_wav + np.expand_dims(cloned_vox, 1)
|
195 |
return (model.target_sample, full_song), (model.target_sample, cloned_vox)
|
196 |
|
197 |
+
SPACE_ID = "nateraw/voice-cloning"
|
198 |
description = f"""
|
199 |
+
# 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.
|
200 |
+
|
201 |
+
<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>
|
202 |
+
|
203 |
+
## 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}.
|
204 |
+
|
205 |
+
#### To change the model being served, duplicate the space and update the `repo_id`/other settings in `app.py`.
|
206 |
+
|
207 |
+
#### 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)
|
208 |
""".strip()
|
209 |
|
210 |
article = """
|