MAnthony commited on
Commit
be29020
1 Parent(s): 96ea0c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -10,6 +10,7 @@ from PIL import Image
10
  modelPath = download_model(BodyPixModelPaths.RESNET50_FLOAT_STRIDE_16)
11
  bodypix_model = load_model(modelPath)
12
 
 
13
  def predict(mask_threshold, image):
14
  # get prediction result
15
  image_array = tf.keras.preprocessing.image.img_to_array(image)
 
10
  modelPath = download_model(BodyPixModelPaths.RESNET50_FLOAT_STRIDE_16)
11
  bodypix_model = load_model(modelPath)
12
 
13
+
14
  def predict(mask_threshold, image):
15
  # get prediction result
16
  image_array = tf.keras.preprocessing.image.img_to_array(image)