An alternative, which doesn't require insane loading times, is to use any of the many great Python libraries that allow you to write web apps in Python, which get converted to JS web apps.
For example, I'm one of developers of Gradio [0], which lets you write your web app in Python, which gets rendered using Svelte-based components: