paulbauriegel commited on
Commit
7b08498
1 Parent(s): 6a2dcd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import psutil
6
  import time
7
  import whisperx
8
 
9
- model = WhisperModel('large-v2', device="cuda", compute_type="float16")
10
  #model = whisper.load_model('large-v2')
11
 
12
  def speech_to_text(mic=None, file=None, lang=None, task='transcribe'):
 
6
  import time
7
  import whisperx
8
 
9
+ model = WhisperModel('large-v2', device="cpu", compute_type="float16")
10
  #model = whisper.load_model('large-v2')
11
 
12
  def speech_to_text(mic=None, file=None, lang=None, task='transcribe'):