Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,8 @@ hf = h5py.File('model.h5', 'r')
|
|
14 |
|
15 |
|
16 |
from tensorflow.keras.models import Sequential
|
|
|
|
|
17 |
model = Sequential([
|
18 |
layers.experimental.preprocessing.Rescaling(1./255, input_shape=(img_height, img_width, 3)),
|
19 |
layers.Conv2D(16, 3, padding='same', activation='relu'),
|
|
|
14 |
|
15 |
|
16 |
from tensorflow.keras.models import Sequential
|
17 |
+
num_classes = 5
|
18 |
+
|
19 |
model = Sequential([
|
20 |
layers.experimental.preprocessing.Rescaling(1./255, input_shape=(img_height, img_width, 3)),
|
21 |
layers.Conv2D(16, 3, padding='same', activation='relu'),
|