Update custom_interface.py
Browse files- custom_interface.py +1 -1
custom_interface.py
CHANGED
@@ -115,7 +115,7 @@ class ASR(Pretrained):
|
|
115 |
segments = []
|
116 |
current_segment = []
|
117 |
current_length = 0
|
118 |
-
max_duration = 20 * sr # Maximum segment duration in samples (
|
119 |
|
120 |
for interval in non_silent_intervals:
|
121 |
start, end = interval
|
|
|
115 |
segments = []
|
116 |
current_segment = []
|
117 |
current_length = 0
|
118 |
+
max_duration = 20 * sr # Maximum segment duration in samples (20 seconds)
|
119 |
|
120 |
for interval in non_silent_intervals:
|
121 |
start, end = interval
|