Clearwave48 commited on
Commit
05e89cb
·
verified ·
1 Parent(s): 5275c9a

Update denoiser.py

Browse files
Files changed (1) hide show
  1. denoiser.py +3 -2
denoiser.py CHANGED
@@ -33,8 +33,9 @@ import logging
33
 
34
  logger = logging.getLogger(__name__)
35
 
36
- # FIX 1: Match DeepFilterNet's native sample rate to avoid double resampling
37
- TARGET_SR = 48000
 
38
  TARGET_LOUDNESS = -18.0
39
 
40
  # Filler words (English + Telugu + Hindi)
 
33
 
34
  logger = logging.getLogger(__name__)
35
 
36
+ # NOTE: 44100 used on HF Spaces (DeepFilterNet not available — no Rust compiler)
37
+ # Locally with DeepFilterNet installed, change this to 48000 for best quality
38
+ TARGET_SR = 44100
39
  TARGET_LOUDNESS = -18.0
40
 
41
  # Filler words (English + Telugu + Hindi)