Hammad712 commited on
Commit
4df8c44
·
verified ·
1 Parent(s): 2a75604

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ import cv2
5
  from huggingface_hub import hf_hub_download
6
  from tensorflow.keras.models import load_model
7
  from io import BytesIO
 
8
 
9
  # Authenticate and download model from Hugging Face
10
  repo_id = "Hammad712/closed_eye_detection"
 
5
  from huggingface_hub import hf_hub_download
6
  from tensorflow.keras.models import load_model
7
  from io import BytesIO
8
+ from PIL import Image # Import PIL Image
9
 
10
  # Authenticate and download model from Hugging Face
11
  repo_id = "Hammad712/closed_eye_detection"