fffiloni commited on
Commit
e730184
·
1 Parent(s): e1c09af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -94,9 +94,9 @@ with gr.Blocks() as demo:
94
  with gr.Row():
95
  with gr.Column():
96
  with gr.Row():
97
- uploaded_sound = gr.Audio(type="numpy", label="Input", source="microphone")
98
  chosen_track = gr.Radio(["vocals", "bass", "drums", "other"], label="Track", info="Which track do you want to mashup ?", value="vocals")
99
- load_sound_btn = gr.Button('Load sound')
100
  #split_vocals = gr.Audio(type="filepath", label="Vocals")
101
  #split_bass = gr.Audio(type="filepath", label="Bass")
102
  #split_drums = gr.Audio(type="filepath", label="Drums")
@@ -124,7 +124,7 @@ with gr.Blocks() as demo:
124
  """
125
  ### More details
126
 
127
- The model will generate a short music extract based on the image you provided.
128
  You can generate up to 30 seconds of audio.
129
 
130
  This demo is set to use only the Melody model
 
94
  with gr.Row():
95
  with gr.Column():
96
  with gr.Row():
97
+ uploaded_sound = gr.Audio(type="numpy", label="Input", source="upload")
98
  chosen_track = gr.Radio(["vocals", "bass", "drums", "other"], label="Track", info="Which track do you want to mashup ?", value="vocals")
99
+ load_sound_btn = gr.Button('Load your sound')
100
  #split_vocals = gr.Audio(type="filepath", label="Vocals")
101
  #split_bass = gr.Audio(type="filepath", label="Bass")
102
  #split_drums = gr.Audio(type="filepath", label="Drums")
 
124
  """
125
  ### More details
126
 
127
+ The model will generate a short music extract based on the audio you provided.
128
  You can generate up to 30 seconds of audio.
129
 
130
  This demo is set to use only the Melody model