Spaces:
Runtime error
Runtime error
Commit ·
91aac10
1
Parent(s): 376d02b
fix app.py
Browse files
app.py
CHANGED
|
@@ -6,8 +6,8 @@ from denoisers.SpectralGating import SpectralGating
|
|
| 6 |
|
| 7 |
|
| 8 |
def denoising_transform(audio):
|
| 9 |
-
src_path = Path("cache_wav/original/{}.wav".format(str(uuid.uuid4())))
|
| 10 |
-
tgt_path = Path("cache_wav/denoised/{}.wav".format(str(uuid.uuid4())))
|
| 11 |
src_path.parent.mkdir(exist_ok=True)
|
| 12 |
tgt_path.parent.mkdir(exist_ok=True)
|
| 13 |
(ffmpeg.input(audio)
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
def denoising_transform(audio):
|
| 9 |
+
src_path = Path("./cache_wav/original/{}.wav".format(str(uuid.uuid4())))
|
| 10 |
+
tgt_path = Path("./cache_wav/denoised/{}.wav".format(str(uuid.uuid4())))
|
| 11 |
src_path.parent.mkdir(exist_ok=True)
|
| 12 |
tgt_path.parent.mkdir(exist_ok=True)
|
| 13 |
(ffmpeg.input(audio)
|