Is there a way to invert the DTR/RTS UART signal for esp32 upload?

I made a mistake when wiring a custom esp32 board I’m making. I used NPN transistors as a switching circuit between both DTR → GPIO0 and RTS->RESET.

But cp2102 dtr/rts outputs are active low. So by default, it’s high, which pulls my reset and gpio0 low, which activates them. Because of this I can’t upload to my board.

Is there a way to invert the cp2102 signal in software so that it’s default low instead of high, and then pulses high to send the signals to the gpio0 and reset pins?

Overlaps with https://github.com/espressif/esptool/issues/513. esptoolpy can accept options from a config file to set a custom reset sequence. You can enter your inverted sequence there.