lauraibnz commited on
Commit
a74e89e
1 Parent(s): 805ddf8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,5 +39,5 @@ demo = gr.Interface(fn=predict, inputs=[
39
  gr.Slider(0.0, 1.0, value=1.0, step=0.1, label="conditioning scale"),
40
  gr.Slider(0, 50, value=20, step=0.1, label="inference steps"),
41
  gr.Checkbox(label="guess mode")
42
- ], outputs="audio", examples=[["S00.mid", "piano", "", 10, 0, 1.0, 20, False]], cache_examples=True, title="🎹 MIDI-AudioLDM", description="MIDI-AudioLDM is a MIDI-conditioned text-to-audio model based on the project [AudioLDM](https://huggingface.co/spaces/haoheliu/audioldm-text-to-audio-generation). The model has been conditioned using the ControlNet architecture and has been developed within Hugging Face’s [🧨 Diffusers](https://huggingface.co/docs/diffusers/) framework. Once trained, MIDI-AudioLDM accepts a MIDI file and a text prompt as inputs and returns an audio file, which is an interpretation of the MIDI based on the given text description. This enables detailed control over different musical aspects such as notes, mood and timbre.", theme=gr.themes.Default(primary_hue="blue")
43
  demo.launch()
 
39
  gr.Slider(0.0, 1.0, value=1.0, step=0.1, label="conditioning scale"),
40
  gr.Slider(0, 50, value=20, step=0.1, label="inference steps"),
41
  gr.Checkbox(label="guess mode")
42
+ ], outputs="audio", examples=[["S00.mid", "piano", "", 10, 0, 1.0, 20, False]], cache_examples=True, title="🎹 MIDI-AudioLDM", description="MIDI-AudioLDM is a MIDI-conditioned text-to-audio model based on the project [AudioLDM](https://huggingface.co/spaces/haoheliu/audioldm-text-to-audio-generation). The model has been conditioned using the ControlNet architecture and has been developed within Hugging Face’s [🧨 Diffusers](https://huggingface.co/docs/diffusers/) framework. Once trained, MIDI-AudioLDM accepts a MIDI file and a text prompt as inputs and returns an audio file, which is an interpretation of the MIDI based on the given text description. This enables detailed control over different musical aspects such as notes, mood and timbre.", theme=gr.themes.Default(primary_hue="blue"))
43
  demo.launch()