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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,10 +42,10 @@ with gr.Blocks(title="🎹 MIDI-AudioLDM", theme=gr.themes.Default(text_size=gr.
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")
 
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='panel'):
46
  midi = gr.File(label="midi file", file_types=[".mid"])
47
  prompt = gr.Textbox(label="prompt")
48
+ with gr.Column(variant='panel'):
49
  audio = gr.Audio(label="audio")
50
  with gr.Accordion("Advanced Settings", open=False):
51
  neg_prompt = gr.Textbox(label="negative prompt")