Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def create_model():
|
|
21 |
tf.keras.layers.Dropout(0.5),
|
22 |
tf.keras.layers.Dense(64, activation='relu'),
|
23 |
tf.keras.layers.Dropout(0.5),
|
24 |
-
tf.keras.layers.Dense(
|
25 |
])
|
26 |
return model
|
27 |
|
|
|
21 |
tf.keras.layers.Dropout(0.5),
|
22 |
tf.keras.layers.Dense(64, activation='relu'),
|
23 |
tf.keras.layers.Dropout(0.5),
|
24 |
+
tf.keras.layers.Dense(40, activation='softmax') # Adjust the number of classes to match the original model
|
25 |
])
|
26 |
return model
|
27 |
|