NikhilJoson commited on
Commit
cfbb531
·
verified ·
1 Parent(s): 2ca24da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -31,8 +31,15 @@ class SketchToRealisticFace:
31
  # )
32
 
33
  # Load Realistic LoRA model
34
- self.pipe = StableDiffusionControlNetPipeline.from_pretrained(
35
- "SG161222/Realistic_Vision_V6.0_B1_noVAE",
 
 
 
 
 
 
 
36
  controlnet=self.controlnet,
37
  torch_dtype=torch.float16,
38
  safety_checker=None,
 
31
  # )
32
 
33
  # Load Realistic LoRA model
34
+ # self.pipe = StableDiffusionControlNetPipeline.from_pretrained(
35
+ # "SG161222/Realistic_Vision_V6.0_B1_noVAE",
36
+ # controlnet=self.controlnet,
37
+ # torch_dtype=torch.float16,
38
+ # safety_checker=None,
39
+ # requires_safety_checker=False
40
+ # )
41
+ self.pipe = StableDiffusionControlNetPipeline.from_single_file(
42
+ "https://huggingface.co/NikhilJoson/Realistic_Vision_V6_B1/resolve/main/realisticVisionV60B1_v51HyperVAE.safetensors",
43
  controlnet=self.controlnet,
44
  torch_dtype=torch.float16,
45
  safety_checker=None,