Bear example using tenserflow and Keras model

I’ve trained the model by using tenserflow 2.0.
But the model is not pickable. And if i save the model it is saved with extension.
.hd5y. So what changes i’ll do in server.py in the place of extractor.pkl?