adiharel30 commited on
Commit
b1b1ad7
·
verified ·
1 Parent(s): f5cc354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import faster_whisper
9
  app = FastAPI()
10
 
11
  # Initialize the model with GPU support
12
- model = faster_whisper.WhisperModel('ivrit-ai/faster-whisper-v2-d4', device="cuda", compute_type="float32")
13
 
14
  # Define file paths
15
  TEMP_FILE_PATH = "temp_audio_file.m4a"
 
9
  app = FastAPI()
10
 
11
  # Initialize the model with GPU support
12
+ model = faster_whisper.WhisperModel('ivrit-ai/faster-whisper-v2-d4', device="cpu", compute_type="float32")
13
 
14
  # Define file paths
15
  TEMP_FILE_PATH = "temp_audio_file.m4a"