Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ APP_PASSWORD = os.getenv("APP_PASSWORD", "default_password") # 从环境变量
|
|
27 |
|
28 |
app = FastAPI()
|
29 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
30 |
-
model = YOLO('kunin-mice-pose.v0.1.
|
31 |
|
32 |
# 定义认证状态
|
33 |
class AuthState:
|
|
|
27 |
|
28 |
app = FastAPI()
|
29 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
30 |
+
model = YOLO('kunin-mice-pose.v0.1.5n.pt')
|
31 |
|
32 |
# 定义认证状态
|
33 |
class AuthState:
|