Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,8 @@ class Preprocessor:
|
|
| 69 |
|
| 70 |
# Load models and preprocessor when the script starts
|
| 71 |
# Controlnet Normal
|
| 72 |
-
|
|
|
|
| 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(
|