profaker commited on
Commit
4f12f76
·
verified ·
1 Parent(s): 58328de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -5,7 +5,6 @@ from diffusers.models import AutoencoderKL
5
 
6
  vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse")
7
  pipeline = diffusers.DiffusionPipeline.from_pretrained("SG161222/Realistic_Vision_V5.1_noVAE", vae=vae).to("cuda")
8
- pipeline.safety_checker = lambda images, **kwargs: (images, False)
9
 
10
  def read_content(file_path: str) -> str:
11
  """read the content of target file
 
5
 
6
  vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse")
7
  pipeline = diffusers.DiffusionPipeline.from_pretrained("SG161222/Realistic_Vision_V5.1_noVAE", vae=vae).to("cuda")
 
8
 
9
  def read_content(file_path: str) -> str:
10
  """read the content of target file