Spaces:
Sleeping
Sleeping
from fasthtml_hf import setup_hf_backup | |
from fasthtml.common import * | |
custom_css_link = Link(rel="stylesheet", href="styles.css") | |
app, rt = fast_app(hdrs=(custom_css_link,)) | |
def home(): | |
return Title("Digit Drawer"), Main( | |
H1("Digit Drawer"), | |
Div(id="canvasContainer"), | |
P("Probability: --", id="probability"), | |
Button("Clear", id="clearButton"), | |
cls="container" # Add this class | |
) | |
setup_hf_backup(app) | |
serve() |