lauraibnz commited on
Commit
6c1596b
1 Parent(s): 76db8f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,8 +62,8 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Base(text_size=gr.the
62
  """
63
  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 input 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.
64
  """)
 
65
  with gr.Row():
66
- upload_button = gr.UploadButton("Upload midi file", file_types=[".mid"], value="S00.mid")
67
  with gr.Column(variant='panel'):
68
  midi = gr.File(visible=False, value="S00.mid")
69
  midi_synth = gr.Audio(label="synthesized midi")
 
62
  """
63
  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 input 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.
64
  """)
65
+ upload_button = gr.UploadButton("Upload MIDI file", file_types=[".mid"], value="S00.mid")
66
  with gr.Row():
 
67
  with gr.Column(variant='panel'):
68
  midi = gr.File(visible=False, value="S00.mid")
69
  midi_synth = gr.Audio(label="synthesized midi")