>>19783659OP You are an absolute faggot for using Python
The silly little ifs and switches aren't your main problem, your entire language is slow and extremely inefficient
You can literally just rewrite your AI models in C++ and they immediately become so much more efficient you could run them on your phone locally