hugggof commited on
Commit
b88d0ca
1 Parent(s): a5c697b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -200,9 +200,9 @@ 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, LabelList
204
  output_labels = LabelList()
205
- output_labels.append(OutputLabel(label='~', t=0.0, description='generated audio'))
206
  return outpath, output_labels
207
 
208
 
 
200
  OUT_DIR.mkdir(exist_ok=True)
201
  outpath = OUT_DIR / f"{uuid.uuid4()}.wav"
202
  sig.write(outpath)
203
+ from pyharp import AudioLabel, LabelList
204
  output_labels = LabelList()
205
+ output_labels.append(AudioLabel(label='~', t=0.0, amplitude=0.5, description='generated audio'))
206
  return outpath, output_labels
207
 
208