Clean Up Visual Clutter
So before we now go into the
load_model() function and clean up a little bit there, I’m also thinking that line 20,
# Assume this as a flask API endpoint, might be good information if it has to do with the question, but at this point, we don’t really care if it’s a Flask project or not.
And we’re still fitting everything on one screen. That’s nice. Okay. Now the
main() function is a lot smaller. We only have a call to the
load_model() function in here, and then just a
print() statement that tells us that it’s done.
The code that we’re having right now, we’re having code that works, which is a good first step, but still,
load_model() is pretty loaded. And in the next lesson, we will take care of
load_model() to also get it into a dense state that really gets to the point of what your actual question is.
Become a Member to join the conversation.