Spaces:
Paused
Paused
nithinraok
commited on
Commit
•
a10d717
1
Parent(s):
ce8a201
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,6 @@ YT_LENGTH_LIMIT_S=3600
|
|
13 |
model = EncDecRNNTBPEModel.from_pretrained(model_name=MODEL_NAME).to(device)
|
14 |
model.eval()
|
15 |
|
16 |
-
|
17 |
def get_transcripts(audio_path):
|
18 |
text = model.transcribe([audio_path])[0][0]
|
19 |
return text
|
@@ -112,7 +111,7 @@ file_transcribe = gr.Interface(
|
|
112 |
title="Parakeet RNNT 1.1B: Transcribe Audio",
|
113 |
description=(
|
114 |
"Transcribe microphone or audio inputs with the click of a button! Demo uses the"
|
115 |
-
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and NVIDIA NeMo to transcribe audio files"
|
116 |
" of arbitrary length."
|
117 |
),
|
118 |
allow_flagging="never",
|
|
|
13 |
model = EncDecRNNTBPEModel.from_pretrained(model_name=MODEL_NAME).to(device)
|
14 |
model.eval()
|
15 |
|
|
|
16 |
def get_transcripts(audio_path):
|
17 |
text = model.transcribe([audio_path])[0][0]
|
18 |
return text
|
|
|
111 |
title="Parakeet RNNT 1.1B: Transcribe Audio",
|
112 |
description=(
|
113 |
"Transcribe microphone or audio inputs with the click of a button! Demo uses the"
|
114 |
+
f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and NVIDIA NeMo(https://github.com/NVIDIA/NeMo) to transcribe audio files"
|
115 |
" of arbitrary length."
|
116 |
),
|
117 |
allow_flagging="never",
|