Clean Up Visual Clutter
00:00 And maybe you can also remove the ellipsis in line 23,
00:05
although it might be a hint to a helper that there will be more in this main()
function, but I think for now it’s like let’s keep it as dense as possible.
00:15
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.
00:33 So this comment doesn’t add to the question itself. So I would propose to also remove this comment here. Makes sense, yeah. So we’re still cleaning up visual clutter here.
00:45 Let’s get rid of the ellipsis here too.
00:50
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.
01:08
Okay. So now that we cleaned up the main()
function, before we go deeper into the load_model()
function, let’s recap for a moment.
01:16
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.