Spaces:
Running
Running
Update app.py
Browse files
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":
|
| 40 |
-
"noise_floor_mult": 0.
|
| 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"
|