nickmuchi commited on
Commit
e11db98
1 Parent(s): afb269c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def display_df_as_table(model,top_k,score='score'):
36
  def asr(audio):
37
 
38
  asr_model = whisper.load_model("base")
39
- results = loaded_model.transcribe(audio)
40
  query = results['text']
41
 
42
  return query
 
36
  def asr(audio):
37
 
38
  asr_model = whisper.load_model("base")
39
+ results = asr_model.transcribe(audio)
40
  query = results['text']
41
 
42
  return query