kevinwang676 commited on
Commit
54e488e
1 Parent(s): 70e41ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -208,7 +208,7 @@ def predict_song_from_yt(
208
 
209
  SPACE_ID = "nateraw/voice-cloning"
210
  description = f"""
211
- # 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.
212
 
213
  <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>
214
 
@@ -218,8 +218,7 @@ description = f"""
218
  """.strip()
219
 
220
  article = """
221
- <p style='text-align: center'>
222
- <a href='https://github.com/voicepaw/so-vits-svc-fork' target='_blank'>Github Repo</a>
223
  </p>
224
  """.strip()
225
 
@@ -240,7 +239,7 @@ interface_mic = gr.Interface(
240
  ),
241
  ],
242
  outputs="audio",
243
- title="AI歌手:可从网址直接上传素材,且无需分离背景音",
244
  description=description,
245
  article=article,
246
  )
@@ -260,7 +259,7 @@ interface_file = gr.Interface(
260
  ),
261
  ],
262
  outputs="audio",
263
- title="AI歌手:可从网址直接上传素材,且无需分离背景音",
264
  description=description,
265
  article=article,
266
  )
@@ -284,7 +283,7 @@ interface_yt = gr.Interface(
284
  ),
285
  ],
286
  outputs=["audio", "audio"],
287
- title="AI歌手:可从网址直接上传素材,且无需分离背景音",
288
  description=description,
289
  article=article,
290
  examples=[
 
208
 
209
  SPACE_ID = "nateraw/voice-cloning"
210
  description = f"""
211
+ ## 需要使用GPU进行推理,在CPU上的运行时间会很长
212
 
213
  <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>
214
 
 
218
  """.strip()
219
 
220
  article = """
221
+ <p style='text-align: center'> 注意❗:请不要生成会对个人以及组织造成侵害的内容,此程序仅供科研、学习及个人娱乐使用。用户生成内容与程序开发者无关,请自觉合法合规使用,违反者一切后果自负。
 
222
  </p>
223
  """.strip()
224
 
 
239
  ),
240
  ],
241
  outputs="audio",
242
+ title="🥳🎶🎡 - AI歌手:可从网址直接上传素材,且无需分离背景音",
243
  description=description,
244
  article=article,
245
  )
 
259
  ),
260
  ],
261
  outputs="audio",
262
+ title="🥳🎶🎡 - AI歌手:可从网址直接上传素材,且无需分离背景音",
263
  description=description,
264
  article=article,
265
  )
 
283
  ),
284
  ],
285
  outputs=["audio", "audio"],
286
+ title="🥳🎶🎡 - AI歌手:可从网址直接上传素材,且无需分离背景音",
287
  description=description,
288
  article=article,
289
  examples=[