Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,6 @@ pipe = AudioLDMControlNetPipeline.from_pretrained(
|
|
22 |
pipe = pipe.to(device)
|
23 |
generator = torch.Generator(device)
|
24 |
|
25 |
-
|
26 |
def predict(midi_file=None, prompt="", neg_prompt="", duration=10, seed=0, cond=1, inf=20, guidance_scale=2.5, guess=False):
|
27 |
if isinstance(midi_file, _TemporaryFileWrapper):
|
28 |
midi_file = midi_file.name
|
|
|
22 |
pipe = pipe.to(device)
|
23 |
generator = torch.Generator(device)
|
24 |
|
|
|
25 |
def predict(midi_file=None, prompt="", neg_prompt="", duration=10, seed=0, cond=1, inf=20, guidance_scale=2.5, guess=False):
|
26 |
if isinstance(midi_file, _TemporaryFileWrapper):
|
27 |
midi_file = midi_file.name
|