Bahazarrouki Petita commited on
Commit
785ec6a
1 Parent(s): eff9582

Fix bug in app.py (#5)

Browse files

- Fix bug in app.py (8a894a77ee11ff0aa5a9b431b5e328cba33b0f71)


Co-authored-by: Tita Rosemeyer <Petita@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def load_audio(fname):
12
  asr = FasterWhisperASR("en", "large-v2") # loads and wraps Whisper model
13
  online = OnlineASRProcessor(asr) # create processing object with default buffer trimming option
14
 
15
- def transcribe(audio_file)
16
  try:
17
  audio_data = load_audio(audio_file)
18
 
 
12
  asr = FasterWhisperASR("en", "large-v2") # loads and wraps Whisper model
13
  online = OnlineASRProcessor(asr) # create processing object with default buffer trimming option
14
 
15
+ def transcribe(audio_file):
16
  try:
17
  audio_data = load_audio(audio_file)
18