lauraibnz commited on
Commit
805ddf8
1 Parent(s): a43e51c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ pipe = AudioLDMControlNetPipeline.from_pretrained("cvssp/audioldm-m-full", contr
15
  pipe = pipe.to(device)
16
  generator = torch.Generator(device)
17
 
18
- def predict(midi_file=None, prompt="", negative_prompt="", audio_length_in_s=5, seed=0, controlnet_conditioning_scale=1, num_inference_steps=20, guess_mode=False):
19
  midi_file = midi_file.name
20
  midi = PrettyMIDI(midi_file)
21
  audio = pipe(
 
15
  pipe = pipe.to(device)
16
  generator = torch.Generator(device)
17
 
18
+ def predict(midi_file=None, prompt="", negative_prompt="", audio_length_in_s=5, random_seed=0, controlnet_conditioning_scale=1, num_inference_steps=20, guess_mode=False):
19
  midi_file = midi_file.name
20
  midi = PrettyMIDI(midi_file)
21
  audio = pipe(