Spaces:
Paused
Paused
fix dwpose import errors
Browse files
libs/easy_dwpose/__init__.py
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
-
from
|
| 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
|
| 11 |
-
from
|
| 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:
|