hello_wave / app.py
MartinT's picture
Publish app to HF.
9df974a
raw
history blame
233 Bytes
from h2o_wave import main, app, Q, ui
@app('/')
async def serve(q: Q):
q.page['hello'] = ui.markdown_card(
box='1 1 4 4',
title='HF Spaces tutorial',
content='Hello World!'
)
await q.page.save()