hugggof commited on
Commit
a5c697b
·
verified ·
1 Parent(s): 97f5442

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -200,8 +200,8 @@ def harp_vamp(input_audio_file, periodic_p, n_mask_codebooks):
200
  OUT_DIR.mkdir(exist_ok=True)
201
  outpath = OUT_DIR / f"{uuid.uuid4()}.wav"
202
  sig.write(outpath)
203
- from pyharp import OutputLabel
204
- output_labels = list()
205
  output_labels.append(OutputLabel(label='~', t=0.0, description='generated audio'))
206
  return outpath, output_labels
207
 
 
200
  OUT_DIR.mkdir(exist_ok=True)
201
  outpath = OUT_DIR / f"{uuid.uuid4()}.wav"
202
  sig.write(outpath)
203
+ from pyharp import OutputLabel, LabelList
204
+ output_labels = LabelList()
205
  output_labels.append(OutputLabel(label='~', t=0.0, description='generated audio'))
206
  return outpath, output_labels
207