Varhal commited on
Commit
450e9ee
·
verified ·
1 Parent(s): e572cfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -69,7 +69,8 @@ class Preprocessor:
69
 
70
  # Load models and preprocessor when the script starts
71
  # Controlnet Normal
72
- model_id = "lllylyasviel/control_v11p_sd15_normalbae" # Corrected model ID based on common usage
 
73
  print("initializing controlnet")
74
  device = "cuda" if torch.cuda.is_available() else "cpu"
75
  controlnet = ControlNetModel.from_pretrained(
 
69
 
70
  # Load models and preprocessor when the script starts
71
  # Controlnet Normal
72
+ # Corrected typo in the model ID
73
+ model_id = "lllyasviel/control_v11p_sd15_normalbae"
74
  print("initializing controlnet")
75
  device = "cuda" if torch.cuda.is_available() else "cpu"
76
  controlnet = ControlNetModel.from_pretrained(