lauraibnz commited on
Commit
93b34e9
1 Parent(s): 6267753

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,16 +39,16 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Default(text_size=gr.
39
  """
40
  # 🎹 MIDI-AudioLDM
41
 
42
- 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.
43
  """)
44
  with gr.Row():
45
  with gr.Column(variant='compact'):
46
  midi = gr.File(label="midi file", file_types=[".mid"])
47
  prompt = gr.Textbox(label="prompt")
48
- neg_prompt = gr.Textbox(label="negative prompt")
49
  with gr.Column(variant='compact'):
50
  audio = gr.Audio(label="audio")
51
  with gr.Accordion("Advanced Settings", open=False):
 
52
  duration = gr.Slider(0, 30, value=5, step=5, label="duration (seconds)")
53
  seed = gr.Number(value=42, label="seed")
54
  cond = gr.Slider(0.0, 1.0, value=1.0, step=0.1, label="conditioning scale")
 
39
  """
40
  # 🎹 MIDI-AudioLDM
41
 
42
+ #### 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.
43
  """)
44
  with gr.Row():
45
  with gr.Column(variant='compact'):
46
  midi = gr.File(label="midi file", file_types=[".mid"])
47
  prompt = gr.Textbox(label="prompt")
 
48
  with gr.Column(variant='compact'):
49
  audio = gr.Audio(label="audio")
50
  with gr.Accordion("Advanced Settings", open=False):
51
+ neg_prompt = gr.Textbox(label="negative prompt")
52
  duration = gr.Slider(0, 30, value=5, step=5, label="duration (seconds)")
53
  seed = gr.Number(value=42, label="seed")
54
  cond = gr.Slider(0.0, 1.0, value=1.0, step=0.1, label="conditioning scale")