Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -162,38 +162,7 @@ def ui_full(launch_kwargs):
|
|
162 |
with gr.Column():
|
163 |
output = gr.Video(label="Generated Music")
|
164 |
submit.click(predict_full, inputs=[model, text, melody, duration, topk, topp, temperature, cfg_coef], outputs=[output])
|
165 |
-
|
166 |
-
fn=predict_full,
|
167 |
-
examples=[
|
168 |
-
[
|
169 |
-
"An 80s driving pop song with heavy drums and synth pads in the background",
|
170 |
-
"./assets/bach.mp3",
|
171 |
-
"melody"
|
172 |
-
],
|
173 |
-
[
|
174 |
-
"A cheerful country song with acoustic guitars",
|
175 |
-
"./assets/bolero_ravel.mp3",
|
176 |
-
"melody"
|
177 |
-
],
|
178 |
-
[
|
179 |
-
"90s rock song with electric guitar and heavy drums",
|
180 |
-
None,
|
181 |
-
"medium"
|
182 |
-
],
|
183 |
-
[
|
184 |
-
"a light and cheerly EDM track, with syncopated drums, aery pads, and strong emotions",
|
185 |
-
"./assets/bach.mp3",
|
186 |
-
"melody"
|
187 |
-
],
|
188 |
-
[
|
189 |
-
"lofi slow bpm electro chill with organic samples",
|
190 |
-
None,
|
191 |
-
"medium",
|
192 |
-
],
|
193 |
-
],
|
194 |
-
inputs=[text, melody, model],
|
195 |
-
outputs=[output]
|
196 |
-
)
|
197 |
gr.Markdown(
|
198 |
"""
|
199 |
|
|
|
162 |
with gr.Column():
|
163 |
output = gr.Video(label="Generated Music")
|
164 |
submit.click(predict_full, inputs=[model, text, melody, duration, topk, topp, temperature, cfg_coef], outputs=[output])
|
165 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
gr.Markdown(
|
167 |
"""
|
168 |
|