antonbol commited on
Commit
7f44a5d
·
1 Parent(s): 7e10321

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from os import listdir
4
  import glob
5
  pipe = pipeline(model="fimster/whisper-small-sv-SE") # change to "your-username/the-name-you-picked"
6
  print(glob.glob("./images/"))
7
- print(onlyfiles)
8
  def transcribe(audio):
9
  text = pipe(audio)["text"]
10
  return text
 
4
  import glob
5
  pipe = pipeline(model="fimster/whisper-small-sv-SE") # change to "your-username/the-name-you-picked"
6
  print(glob.glob("./images/"))
7
+
8
  def transcribe(audio):
9
  text = pipe(audio)["text"]
10
  return text