AItool commited on
Commit
b66f553
·
verified ·
1 Parent(s): b289360

Delete main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -19
main.py DELETED
@@ -1,19 +0,0 @@
1
- from fasthtml.common import *
2
- from monsterui.all import *
3
-
4
- hdrs = Theme.blue.headers(mode='light')
5
- app, rt = fast_app(hdrs=hdrs, live=True)
6
-
7
- @rt
8
- def index():
9
- return Title('Hello World'), Container(
10
- H2(A('Pretty URL', href='', cls=AT.primary)),
11
- P('I love monsterui!'),
12
- A('Go to Google', href='https://google.com', cls=AT.classic),
13
- Card('A Fancy Card :)')
14
- )
15
-
16
- if __name__ == "__main__":
17
- import uvicorn
18
- # run the FastHTML app directly, no reload
19
- uvicorn.run(app, host="0.0.0.0", port=7860, reload=False)