Spaces:
Running
Running
update naming
Browse files
app.py
CHANGED
|
@@ -64,16 +64,16 @@ def mimi_streaming_test(input_wave, max_duration_sec=10.0):
|
|
| 64 |
|
| 65 |
demo = gr.Interface(
|
| 66 |
fn=mimi_streaming_test,
|
| 67 |
-
inputs=gr.Audio(sources=["microphone", "upload"], type="filepath"),
|
| 68 |
-
outputs=[gr.Audio(type="numpy", label="
|
| 69 |
-
gr.Audio(type="numpy", label="
|
| 70 |
-
gr.Audio(type="numpy", label="
|
| 71 |
# gr.Audio(type="numpy", label="With 8 codebooks"),
|
| 72 |
# gr.Audio(type="numpy", label="With 16 codebooks"),
|
| 73 |
-
gr.Audio(type="numpy", label="
|
| 74 |
examples= [["./hello.mp3"]],
|
| 75 |
title="Mimi tokenizer playground",
|
| 76 |
-
description="Explore the quality of
|
| 77 |
)
|
| 78 |
|
| 79 |
demo.launch()
|
|
|
|
| 64 |
|
| 65 |
demo = gr.Interface(
|
| 66 |
fn=mimi_streaming_test,
|
| 67 |
+
inputs=gr.Audio(sources=["microphone", "upload"], type="filepath", label="Input audio"),
|
| 68 |
+
outputs=[gr.Audio(type="numpy", label="Reconstructed with 1 codebook"),
|
| 69 |
+
gr.Audio(type="numpy", label="Reconstructed with 2 codebooks"),
|
| 70 |
+
gr.Audio(type="numpy", label="Reconstructed with 4 codebooks"),
|
| 71 |
# gr.Audio(type="numpy", label="With 8 codebooks"),
|
| 72 |
# gr.Audio(type="numpy", label="With 16 codebooks"),
|
| 73 |
+
gr.Audio(type="numpy", label="Reconstructed with 32 codebooks")],
|
| 74 |
examples= [["./hello.mp3"]],
|
| 75 |
title="Mimi tokenizer playground",
|
| 76 |
+
description="Explore the quality of reconstruction when audio is tokenized using various number of code books in the Mimi model."
|
| 77 |
)
|
| 78 |
|
| 79 |
demo.launch()
|