Upload app.py
Browse files
app.py
CHANGED
@@ -284,7 +284,7 @@ description = "MT3:多任务多音轨音乐转录的 Gradio 演示。要使用
|
|
284 |
|
285 |
article = "<p style='text-align: center'>出错了?试试把文件转换为MP3后再上传吧~</p><p style='text-align: center'><a href='https://arxiv.org/abs/2111.03017' target='_blank'>MT3: 多任务多音轨音乐转录</a> | <a href='https://github.com/magenta/mt3' target='_blank'>Github 仓库</a></p>"
|
286 |
|
287 |
-
|
288 |
|
289 |
gr.Interface(
|
290 |
inference,
|
@@ -293,9 +293,7 @@ gr.Interface(
|
|
293 |
title=title,
|
294 |
description=description,
|
295 |
article=article,
|
296 |
-
examples=
|
297 |
-
['canon.flac'], ['download.wav'],
|
298 |
-
], label="示例"),
|
299 |
allow_flagging=False,
|
300 |
allow_screenshot=False,
|
301 |
enable_queue=True
|
|
|
284 |
|
285 |
article = "<p style='text-align: center'>出错了?试试把文件转换为MP3后再上传吧~</p><p style='text-align: center'><a href='https://arxiv.org/abs/2111.03017' target='_blank'>MT3: 多任务多音轨音乐转录</a> | <a href='https://github.com/magenta/mt3' target='_blank'>Github 仓库</a></p>"
|
286 |
|
287 |
+
examples=[['canon.flac'], ['download.wav']]
|
288 |
|
289 |
gr.Interface(
|
290 |
inference,
|
|
|
293 |
title=title,
|
294 |
description=description,
|
295 |
article=article,
|
296 |
+
examples=examples,
|
|
|
|
|
297 |
allow_flagging=False,
|
298 |
allow_screenshot=False,
|
299 |
enable_queue=True
|