resemble-ai / resemble-enhance

AI powered speech denoising and enhancement
https://huggingface.co/spaces/ResembleAI/resemble-enhance
MIT License
1.32k stars 135 forks source link

resemble_enhance/enhancer /__main__.py fixes #15

Open stevefal opened 8 months ago

stevefal commented 8 months ago

Errors running enhancer from the command line. Fixes:

94 dwav, sr = torchaudio.load(path) >> dwav, sr = torchaudio.load(str(path))

115 torchaudio.save(out_path, hwav[None], sr) >> torchaudio.save(str(out_path), hwav[None], sr)