AfshinMA commited on
Commit
9947da8
·
verified ·
1 Parent(s): 44cc280

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def classify_image(input_image):
13
  labels = ["Unknown"] * 1000 # Fallback in case the request fails
14
 
15
  # Load the MobileNetV2 model
16
- inception_net = keras.applications.MobileNetV2(
17
  input_shape=(224, 224, 3),
18
  alpha=1.0,
19
  include_top=True,
 
13
  labels = ["Unknown"] * 1000 # Fallback in case the request fails
14
 
15
  # Load the MobileNetV2 model
16
+ inception_net = tf.keras.applications.MobileNetV2(
17
  input_shape=(224, 224, 3),
18
  alpha=1.0,
19
  include_top=True,