Spaces:
Runtime error
Runtime error
artificialguybr
commited on
Commit
β’
26b0345
1
Parent(s):
cadaffe
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="float16")
|
32 |
|
33 |
def check_for_faces(video_path):
|
34 |
face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml')
|