Files
facefusion-api/app/schemas/system.py
Sebastian Krüger 58445340c8
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m13s
feat: remove gpu support and simplify to cpu-only
2026-02-19 12:50:10 +01:00

26 lines
475 B
Python

from typing import Any, Dict, List, Optional
from pydantic import BaseModel
class HealthResponse(BaseModel):
status: str = 'ok'
class SystemInfoResponse(BaseModel):
execution_providers: List[str]
cpu_count: Optional[int] = None
memory_total: Optional[int] = None
memory_available: Optional[int] = None
class ProcessorInfo(BaseModel):
name: str
models: List[str]
class ModelInfo(BaseModel):
name: str
path: str
size_bytes: int