add enable_low_mem

This commit is contained in:
Qing
2024-01-08 23:54:20 +08:00
parent a71c3fbe1b
commit a49c3f86d3
7 changed files with 25 additions and 4 deletions

View File

@@ -86,6 +86,7 @@ class ApiConfig(BaseModel):
port: int
model: str
no_half: bool
low_mem: bool
cpu_offload: bool
disable_nsfw_checker: bool
cpu_textencoder: bool