Optimizing The Time It Takes To Upload Code Into Arduino Elegoo Smart Car Robot

Hello everyone,
I am having trouble uploading code into my smart car due to it staying on the loading screen for extended periods of time and I am wondering if there is any way to speed the process up. (I have been waiting about 15 minutes for the code to fully upload). Here is a screenshot of my code and a picture of the Arduino below. Thanks for any help!

My apologies, I have fixed the issue after I restarted my laptop.