diff --git a/demos/musicgen_app.py b/demos/musicgen_app.py index a10d52b5..1eb97740 100644 --- a/demos/musicgen_app.py +++ b/demos/musicgen_app.py @@ -256,7 +256,7 @@ def ui_full(launch_kwargs): with gr.Column(): radio = gr.Radio(["file", "mic"], value="file", label="Condition on a melody (optional) File or Mic") - melody = gr.Audio(source="upload", type="numpy", label="File", + melody = gr.Audio(sources=["upload"], type="numpy", label="File", interactive=True, elem_id="melody-input") with gr.Row(): submit = gr.Button("Submit") diff --git a/requirements.txt b/requirements.txt index a6fa5809..e0f4759e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ julius num2words numpy sentencepiece -spacy==3.5.2 +spacy>=3.6.1 torch==2.1.0 torchaudio>=2.0.0 huggingface_hub