Spaces:
Runtime error
Runtime error
Commit
β’
cadaffe
1
Parent(s):
58ceda5
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ os.chmod('ffmpeg', st.st_mode | stat.S_IEXEC)
|
|
28 |
|
29 |
#Whisper
|
30 |
model_size = "small"
|
31 |
-
model = WhisperModel(model_size, device="cuda", compute_type="
|
32 |
|
33 |
def check_for_faces(video_path):
|
34 |
face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml')
|
|
|
28 |
|
29 |
#Whisper
|
30 |
model_size = "small"
|
31 |
+
model = WhisperModel(model_size, device="cuda", compute_type="fp16")
|
32 |
|
33 |
def check_for_faces(video_path):
|
34 |
face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml')
|