I’d suggest that you re-read what I’ve written, and search the forum for information about using the Uno/ESP-01 combination.
There is a lot that’s been written about the issues of using this combination and I don’t intend to repeat it.
The better solution would be to use an IoT ready board…