randino:

model.add(layers.


first, you are using keras, not pytorch
second, what you provided is only a part of model, there is no layer responsible for classification
what you need for classification is some final layer that has 1 or N outputs for binary classification (True/False or class-wise distribution).