Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,6 @@ class FakeArgs(BaseModel):
|
|
10 |
sd_disable_nsfw: bool = False
|
11 |
sd_cpu_textencoder: bool = True
|
12 |
sd_run_local: bool = False
|
13 |
-
sd_enable_xformers: bool = False
|
14 |
local_files_only: bool = False
|
15 |
cpu_offload: bool = False
|
16 |
device: str = "cpu"
|
@@ -22,6 +21,15 @@ class FakeArgs(BaseModel):
|
|
22 |
no_half: bool = False
|
23 |
disable_nsfw: bool = False
|
24 |
enable_xformers: bool = False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
model_dir: str = None
|
26 |
output_dir: str = None
|
27 |
|
|
|
10 |
sd_disable_nsfw: bool = False
|
11 |
sd_cpu_textencoder: bool = True
|
12 |
sd_run_local: bool = False
|
|
|
13 |
local_files_only: bool = False
|
14 |
cpu_offload: bool = False
|
15 |
device: str = "cpu"
|
|
|
21 |
no_half: bool = False
|
22 |
disable_nsfw: bool = False
|
23 |
enable_xformers: bool = False
|
24 |
+
enable_interactive_seg: bool = True
|
25 |
+
interactive_seg_model: str = "vit_b"
|
26 |
+
enable_remove_bg: bool = False
|
27 |
+
enable_anime_seg: bool = False
|
28 |
+
enable_realesrgan: bool = False
|
29 |
+
enable_gfpgan: bool = False
|
30 |
+
gfpgan_device: str = "cpu"
|
31 |
+
enable_restoreformer: bool = False
|
32 |
+
enable_gif: bool = False
|
33 |
model_dir: str = None
|
34 |
output_dir: str = None
|
35 |
|