Yilin98 ZinebSN commited on
Commit
946d548
1 Parent(s): fb75041

fix file input (#1)

Browse files

- fix file input (c132afafd4a7033866ff67e412183065bd08a5f4)


Co-authored-by: Zineb Senane <ZinebSN@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def transcribe(audio=None, file=None):
9
  elif audio is not None:
10
  input=audio
11
  elif file is not None:
12
- imput=file
13
  text = pipe(input)["text"]
14
  return text
15
 
 
9
  elif audio is not None:
10
  input=audio
11
  elif file is not None:
12
+ input=file
13
  text = pipe(input)["text"]
14
  return text
15