xangcastle commited on
Commit
43f52c4
·
1 Parent(s): d91fab7
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from numpy import random
4
  from PIL import Image
5
  pipe = pipeline(model="openai/whisper-medium") # change to "your-username/the-name-you-picked"
6
 
7
- def transcribe(audio, img):
8
  text = pipe(audio)["text"]
9
  return text
10
 
 
4
  from PIL import Image
5
  pipe = pipeline(model="openai/whisper-medium") # change to "your-username/the-name-you-picked"
6
 
7
+ def transcribe(audio):
8
  text = pipe(audio)["text"]
9
  return text
10