rafiaashraf commited on
Commit
33fc8ac
Β·
verified Β·
1 Parent(s): 903bfc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -25,6 +25,11 @@ 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
 
29
  def pil_to_binary_mask(pil_image, threshold=0):
30
  np_image = np.array(pil_image)
 
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 pip
29
+ installed_packages = pip.get_installed_distributions()
30
+ for package in installed_packages:
31
+ print(f"{package.key}=={package.version}")
32
+
33
 
34
  def pil_to_binary_mask(pil_image, threshold=0):
35
  np_image = np.array(pil_image)