Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,8 @@ from nemo.collections.asr.models import ASRModel
|
|
13 |
from nemo.collections.asr.parts.utils.streaming_utils import FrameBatchMultiTaskAED
|
14 |
from nemo.collections.asr.parts.utils.transcribe_utils import get_buffered_pred_feat_multitaskAED
|
15 |
|
|
|
|
|
16 |
SAMPLE_RATE = 16000 # Hz
|
17 |
MAX_AUDIO_MINUTES = 10 # wont try to transcribe if longer than this
|
18 |
|
|
|
13 |
from nemo.collections.asr.parts.utils.streaming_utils import FrameBatchMultiTaskAED
|
14 |
from nemo.collections.asr.parts.utils.transcribe_utils import get_buffered_pred_feat_multitaskAED
|
15 |
|
16 |
+
HF_TOKEN = os.environ.get('HF_TOKEN')
|
17 |
+
|
18 |
SAMPLE_RATE = 16000 # Hz
|
19 |
MAX_AUDIO_MINUTES = 10 # wont try to transcribe if longer than this
|
20 |
|