fffiloni commited on
Commit
deb6407
·
verified ·
1 Parent(s): 1a0c6ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -125,13 +125,14 @@ css="""
125
  with gr.Blocks(css=css) as demo:
126
  with gr.Column(elem_id="col-container"):
127
  gr.Markdown("# MusiConGen")
128
-
129
  with gr.Column():
130
- prompt_in = gr.Textbox(label="Music description", value="A laid-back blues shuffle with a relaxed tempo, warm guitar tones, and a comfortable groove, perfect for a slow dance or a night in. Instruments: electric guitar, bass, drums.")
131
- with gr.Row():
132
- chords = gr.Textbox(label="Chords progression", value='C G A:min F')
133
- duration = gr.Slider(label="Sample duration", minimum=4, maximum=30, step=1, value=30)
134
- bpms = gr.Slider(label="BPMs", minimum=50, maximum=220, step=1, value=120)
 
135
  submit_btn = gr.Button("Submit")
136
  wav_out = gr.Audio(label="Wav Result")
137
  with gr.Row():
 
125
  with gr.Blocks(css=css) as demo:
126
  with gr.Column(elem_id="col-container"):
127
  gr.Markdown("# MusiConGen")
128
+ gr.Markdon("## Rhythm and Chord Control for Transformer-Based Text-to-Music Generation")
129
  with gr.Column():
130
+ with gr.Group():
131
+ prompt_in = gr.Textbox(label="Music description", value="A laid-back blues shuffle with a relaxed tempo, warm guitar tones, and a comfortable groove, perfect for a slow dance or a night in. Instruments: electric guitar, bass, drums.")
132
+ with gr.Row():
133
+ chords = gr.Textbox(label="Chords progression", value='C G A:min F')
134
+ duration = gr.Slider(label="Sample duration", minimum=4, maximum=30, step=1, value=30)
135
+ bpms = gr.Slider(label="BPMs", minimum=50, maximum=220, step=1, value=120)
136
  submit_btn = gr.Button("Submit")
137
  wav_out = gr.Audio(label="Wav Result")
138
  with gr.Row():