Yuliang commited on
Commit
d9cef81
1 Parent(s): f836225
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +0 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import subprocess
10
 
11
  if os.getenv('SYSTEM') == 'spaces':
12
  subprocess.run('pip install pyembree'.split())
13
- subprocess.run('pip install rembg'.split())
14
  subprocess.run(
15
  'pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html'.split())
16
  subprocess.run(
 
10
 
11
  if os.getenv('SYSTEM') == 'spaces':
12
  subprocess.run('pip install pyembree'.split())
13
+ subprocess.run('pip install git+https://github.com/danielgatis/rembg[email protected]'.split())
14
  subprocess.run(
15
  'pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html'.split())
16
  subprocess.run(
requirements.txt CHANGED
@@ -15,7 +15,6 @@ rtree==0.9.7
15
  pytorch_lightning==1.2.5
16
  PyMCubes
17
  chumpy
18
- rembg>=2.0.3
19
  opencv-python
20
  opencv_contrib_python
21
  scikit-learn
 
15
  pytorch_lightning==1.2.5
16
  PyMCubes
17
  chumpy
 
18
  opencv-python
19
  opencv_contrib_python
20
  scikit-learn