SaitoHoujou commited on
Commit
8aa62c7
·
verified ·
1 Parent(s): b6ada02

Update StableDiffusionControlNetPipeline to StableDiffusion3ControlNetPipeline

Browse files
Files changed (1) hide show
  1. streamlit_app.py +2 -2
streamlit_app.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
  from PIL import Image
3
  import torch
4
- from diffusers import StableDiffusionControlNetPipeline, ControlNetModel, UniPCMultistepScheduler
5
  from controlnet_aux import HEDdetector
6
 
7
  app_controlnet_path = "SaitoHoujou/Finetuned-ControlNet_for_Diffusion-Model"
@@ -55,7 +55,7 @@ def load_pipeline():
55
  torch_dtype=app_dtype
56
  )
57
 
58
- pipe = StableDiffusionControlNetPipeline.from_pretrained(
59
  app_base_model,
60
  controlnet=controlnet,
61
  torch_dtype=app_dtype,
 
1
  import streamlit as st
2
  from PIL import Image
3
  import torch
4
+ from diffusers import StableDiffusion3ControlNetPipeline, ControlNetModel, UniPCMultistepScheduler
5
  from controlnet_aux import HEDdetector
6
 
7
  app_controlnet_path = "SaitoHoujou/Finetuned-ControlNet_for_Diffusion-Model"
 
55
  torch_dtype=app_dtype
56
  )
57
 
58
+ pipe = StableDiffusion3ControlNetPipeline.from_pretrained(
59
  app_base_model,
60
  controlnet=controlnet,
61
  torch_dtype=app_dtype,