While Flask is helpful for getting started, Django is a "batteries included" approach to web development.
As deployment options for web apps have multiplied in the past few years, AWS Lambda continues to stand out as a powerful, simple way to run a web app with minimal maintenance and cost — if there is low traffic.
If you have used Electron before, your initial experiences may have been less than ideal. It might be time to give it a second (or first, or third) look!