shashichilappagari commited on
Commit
85ef282
·
1 Parent(s): eda11f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ face_zoo = dg.connect(hw_location, face_model_zoo_url, token=st.secrets["DG_TOKE
29
  gender_zoo = dg.connect(hw_location, gender_model_zoo_url, token=st.secrets["DG_TOKEN"])
30
 
31
  # Load models
32
- face_model = face_zoo.load_model(face_model_name, image_backedn='pil')
33
- gender_model= gender_zoo.load_model(gender_model_name, image_backedn='pil')
34
  # Create a compound cropping model with 50% crop extent
35
  crop_model = degirum_tools.CroppingAndClassifyingCompoundModel(
36
  face_model, gender_model, 50.0
 
29
  gender_zoo = dg.connect(hw_location, gender_model_zoo_url, token=st.secrets["DG_TOKEN"])
30
 
31
  # Load models
32
+ face_model = face_zoo.load_model(face_model_name, image_backend='pil')
33
+ gender_model= gender_zoo.load_model(gender_model_name, image_backend='pil')
34
  # Create a compound cropping model with 50% crop extent
35
  crop_model = degirum_tools.CroppingAndClassifyingCompoundModel(
36
  face_model, gender_model, 50.0