Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 204 |
output_labels = LabelList()
|
| 205 |
-
output_labels.append(
|
| 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 |
|