thomwolf HF Staff commited on
Commit
b316611
·
1 Parent(s): dbb9634

update naming

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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="With 1 codebook"),
69
- gr.Audio(type="numpy", label="With 2 codebooks"),
70
- gr.Audio(type="numpy", label="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="With 32 codebooks")],
74
  examples= [["./hello.mp3"]],
75
  title="Mimi tokenizer playground",
76
- description="Explore the quality of compression when using various number of code books in the Mimi model."
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()