Spaces:
Runtime error
Runtime error
harshasurampudi
commited on
Commit
•
8ff40df
1
Parent(s):
4e4a30c
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
import cv2
|
4 |
-
classifier = cv2.CascadeClassifier('
|
5 |
|
6 |
def label_func(fname):
|
7 |
if int(str(fname)[str(fname).index('_')+1]) == 0:
|
|
|
1 |
from fastai.vision.all import *
|
2 |
import gradio as gr
|
3 |
import cv2
|
4 |
+
classifier = cv2.CascadeClassifier('haarcascade_frontalface_alt2.xml')
|
5 |
|
6 |
def label_func(fname):
|
7 |
if int(str(fname)[str(fname).index('_')+1]) == 0:
|