Sanster commited on
Commit
c3e4eca
1 Parent(s): 68e110d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -10,6 +10,9 @@ class FakeArgs(BaseModel):
10
  sd_disable_nsfw: bool = False
11
  sd_cpu_textencoder: bool = True
12
  sd_run_local: bool = False
 
 
 
13
  device: str = "cpu"
14
  gui: bool = False
15
  gui_size: List[int] = [1000, 1000]
@@ -17,6 +20,10 @@ class FakeArgs(BaseModel):
17
  disable_model_switch: bool = True
18
  debug: bool = False
19
  no_half: bool = False
 
 
 
 
20
 
21
  if __name__ == "__main__":
22
  main(FakeArgs())
 
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"
17
  gui: bool = False
18
  gui_size: List[int] = [1000, 1000]
 
20
  disable_model_switch: bool = True
21
  debug: bool = False
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
 
28
  if __name__ == "__main__":
29
  main(FakeArgs())