Shubham09 commited on
Commit
3e99ba1
·
1 Parent(s): 609cc91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def write_to_file(input_file):
36
  # return (' '.join([s.replace(s[0],s[0].capitalize(),1) for s in sentences]))
37
  pipe = pipeline(model="Shubham09/whisper31filescheck") # change to "your-username/the-name-you-picked"
38
 
39
- def asr_transcript("temp.wav"):
40
  text = pipe(input_file)["text"]
41
  return text
42
 
 
36
  # return (' '.join([s.replace(s[0],s[0].capitalize(),1) for s in sentences]))
37
  pipe = pipeline(model="Shubham09/whisper31filescheck") # change to "your-username/the-name-you-picked"
38
 
39
+ def asr_transcript(input_file="temp.wav"):
40
  text = pipe(input_file)["text"]
41
  return text
42