dsxailab commited on
Commit
6811198
·
1 Parent(s): 609cff3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -7,10 +7,10 @@ class FakeArgs(BaseModel):
7
  port: int = 7860
8
  model: str = 'lama'
9
  hf_access_token: str = ""
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"
@@ -20,10 +20,10 @@ class FakeArgs(BaseModel):
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())
 
7
  port: int = 7860
8
  model: str = 'lama'
9
  hf_access_token: str = ""
10
+ sd_disable_nsfw: bool = True
11
  sd_cpu_textencoder: bool = True
12
  sd_run_local: bool = False
13
+ sd_enable_xformers: bool = True
14
  local_files_only: bool = False
15
  cpu_offload: bool = False
16
  device: str = "cpu"
 
20
  disable_model_switch: bool = True
21
  debug: bool = False
22
  no_half: bool = False
23
+ disable_nsfw: bool = True
24
+ enable_xformers: bool = True
25
  model_dir: str = None
26
  output_dir: str = None
27
 
28
  if __name__ == "__main__":
29
+ main(FakeArgs())