NS-Y commited on
Commit
1f6f214
β€’
1 Parent(s): cc0fe7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
- pipe = pipeline(model="NS-Y/whisper-tiny-he-ex", generate_kwargs = {"language":"<|he|>","task": "transcribe", "temperature":"0.2", "num_beams": "5"})
5
 
6
  def transcribe(audio):
7
  text = pipe(audio)["text"]
 
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
+ pipe = pipeline(model="NS-Y/whisper-tiny-he-ex", generate_kwargs = {"language":"<|he|>","task":"transcribe", "temperature":"0.2", "num_beams":"5"})
5
 
6
  def transcribe(audio):
7
  text = pipe(audio)["text"]