Spaces:
Running
on
A10G
Running
on
A10G
update space to clone
Browse files
app.py
CHANGED
@@ -120,6 +120,7 @@ def predict_full(model, text, melody, duration, topk, topp, temperature, cfg_coe
|
|
120 |
INTERRUPTING = False
|
121 |
topk = int(topk)
|
122 |
load_model(model)
|
|
|
123 |
def _progress(generated, to_generate):
|
124 |
progress((generated, to_generate))
|
125 |
if INTERRUPTING:
|
@@ -234,7 +235,7 @@ def ui_batched(launch_kwargs):
|
|
234 |
This is the demo for [MusicGen](https://github.com/facebookresearch/audiocraft), a simple and controllable model for music generation
|
235 |
presented at: ["Simple and Controllable Music Generation"](https://huggingface.co/papers/2306.05284).
|
236 |
<br/>
|
237 |
-
<a href="https://huggingface.co/spaces/
|
238 |
<img style="margin-bottom: 0em;display: inline;margin-top: -.25em;" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
239 |
for longer sequences, more control and no queue.</p>
|
240 |
"""
|
|
|
120 |
INTERRUPTING = False
|
121 |
topk = int(topk)
|
122 |
load_model(model)
|
123 |
+
|
124 |
def _progress(generated, to_generate):
|
125 |
progress((generated, to_generate))
|
126 |
if INTERRUPTING:
|
|
|
235 |
This is the demo for [MusicGen](https://github.com/facebookresearch/audiocraft), a simple and controllable model for music generation
|
236 |
presented at: ["Simple and Controllable Music Generation"](https://huggingface.co/papers/2306.05284).
|
237 |
<br/>
|
238 |
+
<a href="https://huggingface.co/spaces/facebook/MusicGen?duplicate=true" style="display: inline-block;margin-top: .5em;margin-right: .25em;" target="_blank">
|
239 |
<img style="margin-bottom: 0em;display: inline;margin-top: -.25em;" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
|
240 |
for longer sequences, more control and no queue.</p>
|
241 |
"""
|