acmyu commited on
Commit
864de0c
·
1 Parent(s): b6e0101

fix dwpose import errors

Browse files
libs/easy_dwpose/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
- from easy_dwpose.dwpose import DWposeDetector
2
 
3
  __all__ = ["DWposeDetector"]
 
1
+ from .dwpose import DWposeDetector
2
 
3
  __all__ = ["DWposeDetector"]
libs/easy_dwpose/dwpose.py CHANGED
@@ -7,8 +7,8 @@ import PIL.Image
7
  import torch
8
  from huggingface_hub import hf_hub_download
9
 
10
- from easy_dwpose.body_estimation import Wholebody, resize_image
11
- from easy_dwpose.draw import draw_openpose
12
 
13
 
14
  class DWposeDetector:
 
7
  import torch
8
  from huggingface_hub import hf_hub_download
9
 
10
+ from .body_estimation import Wholebody, resize_image
11
+ from .draw import draw_openpose
12
 
13
 
14
  class DWposeDetector: