Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,8 +25,9 @@ from preprocess.openpose.run_openpose import OpenPose
|
|
| 25 |
from detectron2.data.detection_utils import convert_PIL_to_numpy,_apply_exif_orientation
|
| 26 |
from torchvision.transforms.functional import to_pil_image
|
| 27 |
|
| 28 |
-
import
|
| 29 |
-
|
|
|
|
| 30 |
for package in installed_packages:
|
| 31 |
print(f"{package.key}=={package.version}")
|
| 32 |
|
|
|
|
| 25 |
from detectron2.data.detection_utils import convert_PIL_to_numpy,_apply_exif_orientation
|
| 26 |
from torchvision.transforms.functional import to_pil_image
|
| 27 |
|
| 28 |
+
import pkg_resources
|
| 29 |
+
|
| 30 |
+
installed_packages = pkg_resources.working_set
|
| 31 |
for package in installed_packages:
|
| 32 |
print(f"{package.key}=={package.version}")
|
| 33 |
|