bstraehle commited on
Commit
f94ccf6
·
verified ·
1 Parent(s): 599361b

Update crew.py

Browse files
Files changed (1) hide show
  1. crew.py +1 -1
crew.py CHANGED
@@ -53,7 +53,7 @@ def run_crew(question, file_name):
53
  model = whisper.load_model("base")
54
 
55
  # Transcribe the audio file
56
- result = model.transcribe(file_path)
57
 
58
  # Return transcribed text
59
  return result["text"].strip()
 
53
  model = whisper.load_model("base")
54
 
55
  # Transcribe the audio file
56
+ result = model.transcribe(file_name)
57
 
58
  # Return transcribed text
59
  return result["text"].strip()