artificialguybr commited on
Commit
26b0345
β€’
1 Parent(s): cadaffe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="fp16")
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')