Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ img_size = 400
|
|
12 |
num_classes = 12
|
13 |
|
14 |
# Create CNN model architecture and apply weights from file
|
15 |
-
|
16 |
model = models.Sequential()
|
17 |
model.add(layers.RandomFlip("horizontal_and_vertical"))
|
18 |
model.add(layers.RandomRotation(0.2))
|
|
|
12 |
num_classes = 12
|
13 |
|
14 |
# Create CNN model architecture and apply weights from file
|
15 |
+
def create_model():
|
16 |
model = models.Sequential()
|
17 |
model.add(layers.RandomFlip("horizontal_and_vertical"))
|
18 |
model.add(layers.RandomRotation(0.2))
|