Spaces:
Running
Running
Upload gating.py
Browse files- app/ml/gating.py +2 -2
app/ml/gating.py
CHANGED
|
@@ -35,8 +35,8 @@ def _window_features(window: List[float]) -> Dict[str, float]:
|
|
| 35 |
|
| 36 |
def gate_signal(
|
| 37 |
signal: List[float],
|
| 38 |
-
window_size: int =
|
| 39 |
-
step: int =
|
| 40 |
threshold: float = 0.6,
|
| 41 |
temperature: float = 0.1,
|
| 42 |
return_windows: bool = False,
|
|
|
|
| 35 |
|
| 36 |
def gate_signal(
|
| 37 |
signal: List[float],
|
| 38 |
+
window_size: int = 64,
|
| 39 |
+
step: int = 32,
|
| 40 |
threshold: float = 0.6,
|
| 41 |
temperature: float = 0.1,
|
| 42 |
return_windows: bool = False,
|