codic commited on
Commit
b6632d0
·
verified ·
1 Parent(s): 2d56cc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -12,7 +12,8 @@ import trimesh
12
  from pathlib import Path
13
  import os
14
  import cv2
15
- from rembg import remove
 
16
 
17
  # Initialize model and feature extractor for depth estimation
18
  feature_extractor = DPTFeatureExtractor.from_pretrained("Intel/dpt-large")
 
12
  from pathlib import Path
13
  import os
14
  import cv2
15
+ from rembg import remove, new_session
16
+
17
 
18
  # Initialize model and feature extractor for depth estimation
19
  feature_extractor = DPTFeatureExtractor.from_pretrained("Intel/dpt-large")