Deadmon commited on
Commit
5950aae
1 Parent(s): 523c974

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ from src.flux.sampling import denoise_controlnet, get_noise, get_schedule, prepa
14
  from src.flux.util import load_ae, load_clip, load_t5, load_flow_model, load_controlnet, load_safetensors
15
 
16
  # Download and load the ControlNet model
17
- model_url = "https://huggingface.co/XLabs-AI/flux-controlnet-canny/resolve/main/controlnet.safetensors?download=true"
18
- model_path = "./controlnet.safetensors"
19
  if not os.path.exists(model_path):
20
  response = requests.get(model_url)
21
  with open(model_path, 'wb') as f:
 
14
  from src.flux.util import load_ae, load_clip, load_t5, load_flow_model, load_controlnet, load_safetensors
15
 
16
  # Download and load the ControlNet model
17
+ model_url = "https://huggingface.co/XLabs-AI/flux-controlnet-canny-v3/resolve/main/flux-canny-controlnet-v3.safetensors?download=true"
18
+ model_path = "./flux-canny-controlnet-v3.safetensors"
19
  if not os.path.exists(model_path):
20
  response = requests.get(model_url)
21
  with open(model_path, 'wb') as f: