Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ import imutils
|
|
5 |
import cv2
|
6 |
from keras.models import load_model
|
7 |
import numpy as np
|
|
|
|
|
8 |
|
9 |
# parameters for loading data and images
|
10 |
detection_model_path = 'haarcascade_frontalface_default.xml'
|
|
|
5 |
import cv2
|
6 |
from keras.models import load_model
|
7 |
import numpy as np
|
8 |
+
from gradio.components import Image
|
9 |
+
from gradio.components import Label
|
10 |
|
11 |
# parameters for loading data and images
|
12 |
detection_model_path = 'haarcascade_frontalface_default.xml'
|