Walid-Ahmed commited on
Commit
6c8e1ab
·
verified ·
1 Parent(s): 3482efe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ print("Running on CPU")
8
 
9
  # Load the Whisper model on CPU
10
  model_name = "tiny" # Change to "base", "small", etc., as needed
11
- whisper_model = whisper.load_model(model_name, device=device)
12
 
13
  # Define the transcription function
14
  def transcribe(audio):
 
8
 
9
  # Load the Whisper model on CPU
10
  model_name = "tiny" # Change to "base", "small", etc., as needed
11
+ whisper_model = whisper.load_model("tiny")
12
 
13
  # Define the transcription function
14
  def transcribe(audio):