AIOmarRehan commited on
Commit
c8e007e
·
verified ·
1 Parent(s): 6a9311a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -9,10 +9,7 @@ from tensorflow.keras.models import load_model
9
  model = load_model("unet_model.h5", compile=False)
10
 
11
  # Load Hugging Face dataset
12
- dataset = load_dataset(
13
- "AIOmarRehan/Cropped_Yale_Faces",
14
- download_mode="force_redownload"
15
- )
16
 
17
  # Preprocess function
18
  def preprocess_image(image, target_size=(192, 176)):
 
9
  model = load_model("unet_model.h5", compile=False)
10
 
11
  # Load Hugging Face dataset
12
+ dataset = load_dataset("AIOmarRehan/Cropped_Yale_Faces")
 
 
 
13
 
14
  # Preprocess function
15
  def preprocess_image(image, target_size=(192, 176)):