Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from nemo.collections.asr.parts.utils.streaming_utils import FrameBatchMultiTask
|
|
13 |
from nemo.collections.asr.parts.utils.transcribe_utils import get_buffered_pred_feat_multitaskAED
|
14 |
|
15 |
SAMPLE_RATE = 16000 # Hz
|
16 |
-
MAX_AUDIO_MINUTES =
|
17 |
|
18 |
model = ASRModel.from_pretrained("nvidia/canary-1b")
|
19 |
model.eval()
|
|
|
13 |
from nemo.collections.asr.parts.utils.transcribe_utils import get_buffered_pred_feat_multitaskAED
|
14 |
|
15 |
SAMPLE_RATE = 16000 # Hz
|
16 |
+
MAX_AUDIO_MINUTES = 180 # wont try to transcribe if longer than this
|
17 |
|
18 |
model = ASRModel.from_pretrained("nvidia/canary-1b")
|
19 |
model.eval()
|