91prince commited on
Commit
b9b7efb
·
verified ·
1 Parent(s): 6ce90ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,8 +36,8 @@ CONFIG = {
36
  "n_mels": 80,
37
  "model_path": "best_denoiser_model.pth",
38
  # Classical noise-reduction parameters
39
- "noise_reduction_strength": 4.0, # 1.0 = mild, 2–3 = stronger
40
- "noise_floor_mult": 0.5, # how much noise to leave (0.1 ≈ -20 dB)
41
  }
42
 
43
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
 
36
  "n_mels": 80,
37
  "model_path": "best_denoiser_model.pth",
38
  # Classical noise-reduction parameters
39
+ "noise_reduction_strength": 3.0, # 1.0 = mild, 2–3 = stronger
40
+ "noise_floor_mult": 0.2, # how much noise to leave (0.1 ≈ -20 dB)
41
  }
42
 
43
  DEVICE = "cuda" if torch.cuda.is_available() else "cpu"