Spaces:
Sleeping
Sleeping
paulbauriegel
commited on
Commit
•
7c8a2d5
1
Parent(s):
7b08498
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import psutil
|
|
6 |
import time
|
7 |
import whisperx
|
8 |
|
9 |
-
model = WhisperModel('large-v2', device="cpu", compute_type="
|
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="float32")
|
10 |
#model = whisper.load_model('large-v2')
|
11 |
|
12 |
def speech_to_text(mic=None, file=None, lang=None, task='transcribe'):
|