kanyekuthi commited on
Commit
d197959
·
1 Parent(s): 787b6cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -5,7 +5,7 @@
5
  from transformers import pipeline
6
  import gradio as gr
7
 
8
- pipe = pipeline(model="models/kanyekuthi/dsn_afrispeech")
9
 
10
  def transcribe(audio):
11
  text = pipe(audio)["text"]
@@ -15,8 +15,8 @@ iface = gr.Interface(
15
  fn=transcribe,
16
  inputs=gr.Audio(source="microphone", type="filepath"),
17
  outputs="text",
18
- title="Whisper Small Hindi",
19
- description="Realtime demo for Hindi speech recognition using a fine-tuned Whisper small model.",
20
  )
21
 
22
  iface.launch()
 
5
  from transformers import pipeline
6
  import gradio as gr
7
 
8
+ pipe = pipeline(model="kanyekuthi/dsn_afrispeech")
9
 
10
  def transcribe(audio):
11
  text = pipe(audio)["text"]
 
15
  fn=transcribe,
16
  inputs=gr.Audio(source="microphone", type="filepath"),
17
  outputs="text",
18
+ title="Whisper Small English",
19
+ description="Realtime demo for African-accented English speech recognition using a fine-tuned Whisper small model.",
20
  )
21
 
22
  iface.launch()