adding bolero
Browse files- app.py +5 -0
- app_batched.py +7 -1
- assets/bolero_ravel.mp3 +0 -0
app.py
CHANGED
@@ -108,6 +108,11 @@ with gr.Blocks() as demo:
|
|
108 |
"./assets/bach.mp3",
|
109 |
"melody"
|
110 |
],
|
|
|
|
|
|
|
|
|
|
|
111 |
[
|
112 |
"90s rock song with electric guitar and heavy drums",
|
113 |
None,
|
|
|
108 |
"./assets/bach.mp3",
|
109 |
"melody"
|
110 |
],
|
111 |
+
[
|
112 |
+
"A cheerful country song with acoustic guitars",
|
113 |
+
"./assets/bolero_ravel.mp3",
|
114 |
+
"melody"
|
115 |
+
],
|
116 |
[
|
117 |
"90s rock song with electric guitar and heavy drums",
|
118 |
None,
|
app_batched.py
CHANGED
@@ -81,6 +81,8 @@ with gr.Blocks() as demo:
|
|
81 |
<img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
82 |
</p>
|
83 |
|
|
|
|
|
84 |
See [github.com/facebookresearch/audiocraft](https://github.com/facebookresearch/audiocraft)
|
85 |
for more details.
|
86 |
"""
|
@@ -102,6 +104,10 @@ with gr.Blocks() as demo:
|
|
102 |
"An 80s driving pop song with heavy drums and synth pads in the background",
|
103 |
"./assets/bach.mp3",
|
104 |
],
|
|
|
|
|
|
|
|
|
105 |
[
|
106 |
"90s rock song with electric guitar and heavy drums",
|
107 |
None,
|
@@ -119,4 +125,4 @@ with gr.Blocks() as demo:
|
|
119 |
outputs=[output]
|
120 |
)
|
121 |
|
122 |
-
demo.launch()
|
|
|
81 |
<img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
82 |
</p>
|
83 |
|
84 |
+
You can also use your own GPU or a Google Colab by following the instructions on our repo.
|
85 |
+
|
86 |
See [github.com/facebookresearch/audiocraft](https://github.com/facebookresearch/audiocraft)
|
87 |
for more details.
|
88 |
"""
|
|
|
104 |
"An 80s driving pop song with heavy drums and synth pads in the background",
|
105 |
"./assets/bach.mp3",
|
106 |
],
|
107 |
+
[
|
108 |
+
"A cheerful country song with acoustic guitars",
|
109 |
+
"./assets/bolero_ravel.mp3",
|
110 |
+
],
|
111 |
[
|
112 |
"90s rock song with electric guitar and heavy drums",
|
113 |
None,
|
|
|
125 |
outputs=[output]
|
126 |
)
|
127 |
|
128 |
+
demo.queue(max_size=15).launch()
|
assets/bolero_ravel.mp3
ADDED
Binary file (161 kB). View file
|
|