NS-Y commited on
Commit
6c44da2
β€’
1 Parent(s): de54768

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  pipe = pipeline(model="NS-Y/whisper-tiny-he-ex", generate_kwargs = {"language":"<|he|>","task": "transcribe"}) # change to "your-username/the-name-you-picked"
2
 
3
  def transcribe(audio):
 
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"}) # change to "your-username/the-name-you-picked"
5
 
6
  def transcribe(audio):