sd99 commited on
Commit
b34752d
·
verified ·
1 Parent(s): 17cba66

deploy at 2024-09-21 17:09:27.790346

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -1,4 +1,4 @@
1
- from fasthtml_hf import setup_hf_backup
2
  from fasthtml.common import *
3
 
4
  app,rt = fast_app()
@@ -7,4 +7,4 @@ app,rt = fast_app()
7
  def get(): return Div(P('Hello World!'), hx_get="/change")
8
 
9
  setup_hf_backup(app)
10
- uvicorn.run("main:app")
 
1
+ from fasthtml_hf import setup_hf_backup, run_uv
2
  from fasthtml.common import *
3
 
4
  app,rt = fast_app()
 
7
  def get(): return Div(P('Hello World!'), hx_get="/change")
8
 
9
  setup_hf_backup(app)
10
+ run_uv()