add back local_files_only to from_pretrained

This commit is contained in:
Qing
2024-01-16 22:25:25 +08:00
parent 8dd3a06945
commit 84c2b515c8
12 changed files with 63 additions and 18 deletions

View File

@@ -90,6 +90,7 @@ class ApiConfig(BaseModel):
low_mem: bool
cpu_offload: bool
disable_nsfw_checker: bool
local_files_only: bool
cpu_textencoder: bool
device: Device
gui: bool