hugggof commited on
Commit
b9fc17c
·
verified ·
1 Parent(s): 4031ea3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -200,7 +200,10 @@ def harp_vamp(input_audio_file, periodic_p, n_mask_codebooks, pitch_shift_amt):
200
  OUT_DIR.mkdir(exist_ok=True)
201
  outpath = OUT_DIR / f"{uuid.uuid4()}.wav"
202
  sig.write(outpath)
203
- return outpath, []
 
 
 
204
 
205
 
206
  with gr.Blocks() as demo:
 
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
 
208
 
209
  with gr.Blocks() as demo: