Hakureirm commited on
Commit
743135f
·
verified ·
1 Parent(s): 8b79e99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ APP_PASSWORD = os.getenv("APP_PASSWORD", "default_password") # 从环境变量
16
 
17
  app = FastAPI()
18
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
19
- model = YOLO('kunin-mice-pose.v0.1.4pt')
20
 
21
  # 定义认证状态
22
  class AuthState:
 
16
 
17
  app = FastAPI()
18
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
19
+ model = YOLO('kunin-mice-pose.v0.1.4.pt')
20
 
21
  # 定义认证状态
22
  class AuthState: