ayymen commited on
Commit
235e1f0
1 Parent(s): 44d3b8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -17,6 +17,7 @@ def get_transcripts(audio_path):
17
  text = model.transcribe([audio_path])[0][0]
18
  return text
19
 
 
20
  article = (
21
  "<p style='text-align: center'>"
22
  "<a href='https://huggingface.co/nvidia/parakeet-rnnt-1.1b' target='_blank'>🎙️ Learn more about Parakeet model</a> | "
@@ -24,7 +25,7 @@ article = (
24
  "<a href='https://github.com/NVIDIA/NeMo' target='_blank'>🧑‍💻 Repository</a>"
25
  "</p>"
26
  )
27
- '''
28
  examples = [
29
  ["data/conversation.wav"],
30
  ["data/id10270_5r0dWxy17C8-00001.wav"],
@@ -94,7 +95,7 @@ mf_transcribe = gr.Interface(
94
  ],
95
  outputs="text",
96
  theme="huggingface",
97
- title="Parakeet RNNT 1.1B: Transcribe Audio",
98
  description=(
99
  "Transcribe microphone or audio inputs with the click of a button! Demo uses the"
100
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and [NVIDIA NeMo](https://github.com/NVIDIA/NeMo) to transcribe audio files"
@@ -110,7 +111,7 @@ file_transcribe = gr.Interface(
110
  ],
111
  outputs="text",
112
  theme="huggingface",
113
- title="Parakeet RNNT 1.1B: Transcribe Audio",
114
  description=(
115
  "Transcribe microphone or audio inputs with the click of a button! Demo uses the"
116
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and [NVIDIA NeMo](https://github.com/NVIDIA/NeMo) to transcribe audio files"
@@ -126,7 +127,7 @@ youtube_transcribe = gr.Interface(
126
  ],
127
  outputs=["html", "text"],
128
  theme="huggingface",
129
- title="Parakeet RNNT 1.1B: Transcribe Audio",
130
  description=(
131
  "Transcribe microphone or audio inputs with the click of a button! Demo uses the"
132
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and [NVIDIA NeMo](https://github.com/NVIDIA/NeMo) to transcribe audio files"
 
17
  text = model.transcribe([audio_path])[0][0]
18
  return text
19
 
20
+ '''
21
  article = (
22
  "<p style='text-align: center'>"
23
  "<a href='https://huggingface.co/nvidia/parakeet-rnnt-1.1b' target='_blank'>🎙️ Learn more about Parakeet model</a> | "
 
25
  "<a href='https://github.com/NVIDIA/NeMo' target='_blank'>🧑‍💻 Repository</a>"
26
  "</p>"
27
  )
28
+
29
  examples = [
30
  ["data/conversation.wav"],
31
  ["data/id10270_5r0dWxy17C8-00001.wav"],
 
95
  ],
96
  outputs="text",
97
  theme="huggingface",
98
+ title="Transcribe Audio",
99
  description=(
100
  "Transcribe microphone or audio inputs with the click of a button! Demo uses the"
101
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and [NVIDIA NeMo](https://github.com/NVIDIA/NeMo) to transcribe audio files"
 
111
  ],
112
  outputs="text",
113
  theme="huggingface",
114
+ title="Transcribe Audio",
115
  description=(
116
  "Transcribe microphone or audio inputs with the click of a button! Demo uses the"
117
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and [NVIDIA NeMo](https://github.com/NVIDIA/NeMo) to transcribe audio files"
 
127
  ],
128
  outputs=["html", "text"],
129
  theme="huggingface",
130
+ title="Transcribe Audio",
131
  description=(
132
  "Transcribe microphone or audio inputs with the click of a button! Demo uses the"
133
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and [NVIDIA NeMo](https://github.com/NVIDIA/NeMo) to transcribe audio files"