Closed wendycwong closed 8 months ago
I was trying to learn how to write an app and notice a problem with hello_world.py:
from h2o_wave import site, ui
The problem is with the import, it needs to import main as well. Quick fix is just to do this:
from h2o_wave import site, ui, main
Hey @wendycwong!
The main import is missing because hello_world example is a Wave script and not a Wave app.
main
hello_world
I was trying to learn how to write an app and notice a problem with hello_world.py:
from h2o_wave import site, ui
The problem is with the import, it needs to import main as well. Quick fix is just to do this:
from h2o_wave import site, ui, main