Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|