Spaces:
Runtime error
Runtime error
Fix numpy version
#9
by
chris-rannou
HF staff
- opened
- app.py +1 -1
- requirements.txt +2 -2
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.git@v2.0.13'.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,11 +15,11 @@ 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
|
22 |
protobuf==3.20.0
|
23 |
pymeshlab
|
24 |
iopath
|
25 |
-
fvcore
|
|
|
|
15 |
pytorch_lightning==1.2.5
|
16 |
PyMCubes
|
17 |
chumpy
|
|
|
18 |
opencv-python
|
19 |
opencv_contrib_python
|
20 |
scikit-learn
|
21 |
protobuf==3.20.0
|
22 |
pymeshlab
|
23 |
iopath
|
24 |
+
fvcore
|
25 |
+
numpy==1.22.4
|