multimodalart HF Staff commited on
Commit
ec7c2ff
·
verified ·
1 Parent(s): 7b80042

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ depth_anything = depth_anything.to(device).eval()
99
  # Load Pose and Soft Edge Detectors
100
  print("Loading other detectors...")
101
  openpose_detector = OpenposeDetector.from_pretrained("lllyasviel/Annotators")
102
- anyline_detector = AnylineDetector.from_pretrained("lllyasviel/Annotators", filename="anyline.pth").to(device)
103
 
104
  print("All models loaded.")
105
 
 
99
  # Load Pose and Soft Edge Detectors
100
  print("Loading other detectors...")
101
  openpose_detector = OpenposeDetector.from_pretrained("lllyasviel/Annotators")
102
+ anyline = AnylineDetector.from_pretrained("TheMistoAI/MistoLine", filename="MTEED.pth", subfolder="Anyline").to("cuda")
103
 
104
  print("All models loaded.")
105