machine.reset() cant get pass it... I want to upload new code but cant get in

I had an error about i could not upload due to low memoery on the device im using a LoPy, then I added

import machine
machine.reset()

was trying to clear the memory and after notice it restarted the program I did wanna try upload the code i hade without this machine and i forogot to change it so Now i have a program that restart the lopy all the time and I cant seems to upload the program to it so I cant stop it... any advice!?

Connect a jumper between P12 and 3.3V and press the reset button, this will cause the onboard LED to flash orange, when you see this please remove the jumper. This puts the device into "safe boot", in this mode it will not run the boot.py and main.py files and drop you straight into the interactive REPL terminal