Infinite Loop after changing TFLite Model

I made an object detection app (with Flutter) using a small (1Mb) TFLite model. It was working well, but I have replaced it with many models (ResNet, MobileNet, etc. ) and app started going into an infinite loop this time. There may be a problem with quantization, but I couldn’t get an idea despite Googling.

Colab Link