Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ pipe = QwenImageControlNetPipeline.from_pretrained(
|
|
| 84 |
# Note: "depth-anything" is not yet available in controlnet_aux, so we use MiDaS as a strong alternative.
|
| 85 |
processors = {
|
| 86 |
"Canny": CannyDetector(),
|
| 87 |
-
"Soft Edge": AnylineDetector.from_pretrained("
|
| 88 |
"Depth": MidasDetector.from_pretrained("lllyasviel/Annotators").to(device),
|
| 89 |
"Pose": DWposeDetector.from_pretrained("lllyasviel/Annotators").to(device),
|
| 90 |
}
|
|
|
|
| 84 |
# Note: "depth-anything" is not yet available in controlnet_aux, so we use MiDaS as a strong alternative.
|
| 85 |
processors = {
|
| 86 |
"Canny": CannyDetector(),
|
| 87 |
+
"Soft Edge": AnylineDetector.from_pretrained("TheMistoAI/MistoLine", filename="MTEED.pth", subfolder="Anyline"),
|
| 88 |
"Depth": MidasDetector.from_pretrained("lllyasviel/Annotators").to(device),
|
| 89 |
"Pose": DWposeDetector.from_pretrained("lllyasviel/Annotators").to(device),
|
| 90 |
}
|