Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -162,8 +162,11 @@ def predict(
|
|
162 |
return model.target_sample, audio
|
163 |
|
164 |
SPACE_ID = "nateraw/voice-cloning"
|
165 |
-
|
166 |
description = f"""
|
|
|
|
|
|
|
|
|
167 |
""".strip()
|
168 |
|
169 |
article = """
|
@@ -172,8 +175,6 @@ article = """
|
|
172 |
</p>
|
173 |
""".strip()
|
174 |
|
175 |
-
|
176 |
-
|
177 |
interface_mic = gr.Interface(
|
178 |
predict,
|
179 |
inputs=[
|
|
|
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 |
+
<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>
|
168 |
+
#### 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`.
|
169 |
+
#### 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)
|
170 |
""".strip()
|
171 |
|
172 |
article = """
|
|
|
175 |
</p>
|
176 |
""".strip()
|
177 |
|
|
|
|
|
178 |
interface_mic = gr.Interface(
|
179 |
predict,
|
180 |
inputs=[
|