adefossez commited on
Commit
7aceb80
1 Parent(s): f714a9b
Files changed (2) hide show
  1. app.py +8 -3
  2. app_batched.py +6 -3
app.py CHANGED
@@ -129,7 +129,8 @@ with gr.Blocks() as demo:
129
  """
130
  ### More details
131
 
132
- By typing a description of the music you want and an optional audio used for melody conditioning,
 
133
 
134
  We present 4 model variations:
135
  1. Melody -- a music generation model capable of generating music condition on text and melody inputs. **Note**, you can also use text only.
@@ -137,8 +138,12 @@ with gr.Blocks() as demo:
137
  3. Medium -- a 1.5B transformer decoder conditioned on text only.
138
  4. Large -- a 3.3B transformer decoder conditioned on text only (might OOM for the longest sequences.)
139
 
140
- When the optional melody conditioning wav is provided, the model will extract
141
- a broad melody and try to follow it in the generated samples.
 
 
 
 
142
  """
143
  )
144
 
 
129
  """
130
  ### More details
131
 
132
+ The model will generate a short music extract based on the description you provided.
133
+ You can generate up to 30 seconds of audio.
134
 
135
  We present 4 model variations:
136
  1. Melody -- a music generation model capable of generating music condition on text and melody inputs. **Note**, you can also use text only.
 
138
  3. Medium -- a 1.5B transformer decoder conditioned on text only.
139
  4. Large -- a 3.3B transformer decoder conditioned on text only (might OOM for the longest sequences.)
140
 
141
+ When using `melody`, ou can optionaly provide a reference audio from
142
+ which a broad melody will be extracted. The model will then try to follow both the description and melody provided.
143
+
144
+ You can also use your own GPU or a Google Colab by following the instructions on our repo.
145
+ See [github.com/facebookresearch/audiocraft](https://github.com/facebookresearch/audiocraft)
146
+ for more details.
147
  """
148
  )
149
 
app_batched.py CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks() as demo:
73
  <br/>
74
  <a href="https://huggingface.co/spaces/musicgen/MusicGen?duplicate=true" style="display: inline-block;margin-top: .5em;margin-right: .25em;" target="_blank">
75
  <img style="margin-bottom: 0em;display: inline;margin-top: -.25em;" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
76
- for longer sequences, more control and no queue</p>
77
  """
78
  )
79
  with gr.Row():
@@ -115,8 +115,11 @@ with gr.Blocks() as demo:
115
  )
116
  gr.Markdown("""
117
  ### More details
118
- By typing a description of the music you want and an optional audio used for melody conditioning,
119
- the model will extract the broad melody from the uploaded wav if provided and generate a 12s extract with the `melody` model.
 
 
 
120
 
121
  You can also use your own GPU or a Google Colab by following the instructions on our repo.
122
 
 
73
  <br/>
74
  <a href="https://huggingface.co/spaces/musicgen/MusicGen?duplicate=true" style="display: inline-block;margin-top: .5em;margin-right: .25em;" target="_blank">
75
  <img style="margin-bottom: 0em;display: inline;margin-top: -.25em;" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
76
+ for longer sequences, more control and no queue.</p>
77
  """
78
  )
79
  with gr.Row():
 
115
  )
116
  gr.Markdown("""
117
  ### More details
118
+
119
+ The model will generate 12 seconds of audio based on the description you provided.
120
+ You can optionaly provide a reference audio from which a broad melody will be extracted.
121
+ The model will then try to follow both the description and melody provided.
122
+ All samples are generated with the `melody` model.
123
 
124
  You can also use your own GPU or a Google Colab by following the instructions on our repo.
125