Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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.
|
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:
|