Skriller0208 commited on
Commit
bef3363
·
verified ·
1 Parent(s): d5bbf62

Update whisper_processor.py

Browse files
Files changed (1) hide show
  1. whisper_processor.py +1 -1
whisper_processor.py CHANGED
@@ -15,7 +15,7 @@ def process_audio(wav_file, model_name, lang):
15
  :return: Processed string output from the audio processing
16
  :raises: Exception if an error occurs during processing
17
  """
18
- model = f"models/ggml-{model_name}.bin"
19
 
20
  # Check if the model file exists
21
  if not os.path.exists(model):
 
15
  :return: Processed string output from the audio processing
16
  :raises: Exception if an error occurs during processing
17
  """
18
+ model = f"ggml-{model_name}.bin"
19
 
20
  # Check if the model file exists
21
  if not os.path.exists(model):