Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
MartinT
/
hello_wave
like
0
Sleeping
App
Files
Files
Community
968febb
hello_wave
/
app.py
MartinT
Publish app to HF.
9df974a
over 1 year ago
raw
Copy download link
history
blame
Safe
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()