JoPmt commited on
Commit
ea524ed
·
verified ·
1 Parent(s): 4048424

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ InferenceClient=InferenceClient()
19
 
20
  apol=[]
21
 
22
- pipe = StableDiffusionXLPipeline.from_single_file("https://huggingface.co/lllyasviel/fav_models/fav/realisticStockPhoto_v10.safetensors", torch_dtype=torch.bfloat16, variant=None, use_safetensors=True, safety_checker=None))
23
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
24
  pipe.load_lora_weights("./", weight_name="SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors", local_files_only="True")
25
  pipe.fuse_lora(fuse_unet=True,fuse_text_encoder=False)
 
19
 
20
  apol=[]
21
 
22
+ pipe = StableDiffusionXLPipeline.from_single_file("https://huggingface.co/lllyasviel/fav_models/fav/realisticStockPhoto_v10.safetensors", torch_dtype=torch.bfloat16, variant=None, use_safetensors=True, safety_checker=None)
23
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
24
  pipe.load_lora_weights("./", weight_name="SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors", local_files_only="True")
25
  pipe.fuse_lora(fuse_unet=True,fuse_text_encoder=False)