Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|