Spaces:
Sleeping
Sleeping
deploy at 2024-08-26 19:33:50.771187
Browse files
main.py
CHANGED
@@ -7,13 +7,14 @@ app, rt = fast_app(hdrs=(custom_css_link,))
|
|
7 |
|
8 |
@rt('/')
|
9 |
def home():
|
10 |
-
return Title("Digit
|
11 |
-
H1("Digit
|
|
|
12 |
Div(id="canvasContainer"),
|
13 |
-
P("Probability: --", id="probability"),
|
14 |
Button("Clear", id="clearButton"),
|
15 |
ScriptX('digitDrawer.js'),
|
16 |
-
cls="container"
|
17 |
)
|
18 |
|
19 |
setup_hf_backup(app)
|
|
|
7 |
|
8 |
@rt('/')
|
9 |
def home():
|
10 |
+
return Title("Is It a Digit?"), Main(
|
11 |
+
H1("Is It a Digit?"),
|
12 |
+
p("Draw on the canvas below"),
|
13 |
Div(id="canvasContainer"),
|
14 |
+
P("Probability it's a digit: --", id="probability"),
|
15 |
Button("Clear", id="clearButton"),
|
16 |
ScriptX('digitDrawer.js'),
|
17 |
+
cls="container"
|
18 |
)
|
19 |
|
20 |
setup_hf_backup(app)
|