Throwing type error at create_model()

Throwing this error------------------>
TypeError: init() takes from 1 to 3 positional arguments but 8 were given
model compilation is as follows-------->
model.compile(optimizer = RMSprop(lr = 0.001),
loss = “categorical_crossentropy”,
metrics=[“acc”])
model architecture is completely fine
Can anyone help me fixing the issue

Please click my name and message your notebook as an attachment.