Spaces:
Running
on
Zero
Running
on
Zero
kxhit
commited on
Commit
·
40d8ece
1
Parent(s):
71f5049
clean requirements
Browse files- app.py +1 -3
- requirements.txt +1 -4
app.py
CHANGED
@@ -73,7 +73,7 @@ from CN_encoder import CN_encoder
|
|
73 |
from pipeline_zero1to3 import Zero1to3StableDiffusionPipeline
|
74 |
from segment_anything import sam_model_registry, SamPredictor
|
75 |
|
76 |
-
import rembg
|
77 |
from carvekit.api.high import HiInterface
|
78 |
|
79 |
|
@@ -153,8 +153,6 @@ rembg_session.fba = rembg_session.fba.to(device)
|
|
153 |
rembg_session.fba.device = device
|
154 |
rembg_session.device = device
|
155 |
rembg_session.u2net.device = device
|
156 |
-
# rembg_session.postprocessing_pipeline = rembg_session.postprocessing_pipeline.to(device)
|
157 |
-
# rembg_session.postprocessing_pipeline.device = device
|
158 |
|
159 |
predictor = sam_init()
|
160 |
|
|
|
73 |
from pipeline_zero1to3 import Zero1to3StableDiffusionPipeline
|
74 |
from segment_anything import sam_model_registry, SamPredictor
|
75 |
|
76 |
+
# import rembg
|
77 |
from carvekit.api.high import HiInterface
|
78 |
|
79 |
|
|
|
153 |
rembg_session.fba.device = device
|
154 |
rembg_session.device = device
|
155 |
rembg_session.u2net.device = device
|
|
|
|
|
156 |
|
157 |
predictor = sam_init()
|
158 |
|
requirements.txt
CHANGED
@@ -3,7 +3,6 @@ xformers
|
|
3 |
torchvision
|
4 |
accelerate
|
5 |
transformers
|
6 |
-
rembg==2.0.56
|
7 |
carvekit-colab==4.1.0
|
8 |
open3d
|
9 |
trimesh
|
@@ -12,6 +11,4 @@ kornia
|
|
12 |
segment-anything
|
13 |
roma
|
14 |
imageio==2.32.0
|
15 |
-
imageio-ffmpeg==0.4.8
|
16 |
-
mini-dust3r==0.1.1
|
17 |
-
pillow-heif
|
|
|
3 |
torchvision
|
4 |
accelerate
|
5 |
transformers
|
|
|
6 |
carvekit-colab==4.1.0
|
7 |
open3d
|
8 |
trimesh
|
|
|
11 |
segment-anything
|
12 |
roma
|
13 |
imageio==2.32.0
|
14 |
+
imageio-ffmpeg==0.4.8
|
|
|
|