Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def define_model(model):
|
|
53 |
weights = get_weights(model)
|
54 |
if model == 'convnext':
|
55 |
preprocessing_function=tf.keras.applications.convnext.preprocess_input
|
56 |
-
model = tf.keras.applications.
|
57 |
include_top=False,
|
58 |
input_shape= (target_size_dimension, target_size_dimension, 3),
|
59 |
weights='imagenet',
|
|
|
53 |
weights = get_weights(model)
|
54 |
if model == 'convnext':
|
55 |
preprocessing_function=tf.keras.applications.convnext.preprocess_input
|
56 |
+
model = tf.keras.applications.ConvNeXtBase(
|
57 |
include_top=False,
|
58 |
input_shape= (target_size_dimension, target_size_dimension, 3),
|
59 |
weights='imagenet',
|