Zaid commited on
Commit
2eb34d4
1 Parent(s): adf6558

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
- pipe = pipeline(model="Zaid/whisper-small-cv-ar") # change to "your-username/the-name-you-picked"
5
 
6
  def transcribe(audio):
7
  text = pipe(audio)["text"]
@@ -11,8 +11,8 @@ iface = gr.Interface(
11
  fn=transcribe,
12
  inputs=gr.Audio(source="microphone", type="filepath"),
13
  outputs="text",
14
- title="Whisper Small Arabic",
15
- description="Realtime demo for Arabic speech recognition using a fine-tuned Whisper tiny model.",
16
 
17
  )
18
 
 
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
+ pipe = pipeline(model="Zaid/whisper-large-v2-ar") # change to "your-username/the-name-you-picked"
5
 
6
  def transcribe(audio):
7
  text = pipe(audio)["text"]
 
11
  fn=transcribe,
12
  inputs=gr.Audio(source="microphone", type="filepath"),
13
  outputs="text",
14
+ title="Whisper Large Arabic",
15
+ description="Realtime demo for Arabic speech recognition using a fine-tuned Whisper large model.",
16
 
17
  )
18