Spaces:
Build error
Build error
Vo Minh Vu
commited on
Commit
·
bfa1afe
1
Parent(s):
cdeaa4d
update req
Browse files- app.py +0 -8
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -25,14 +25,6 @@ from tsr.utils import remove_background, resize_foreground, to_gradio_3d_orienta
|
|
| 25 |
|
| 26 |
import sys
|
| 27 |
|
| 28 |
-
# Install any local wheel files in the "wheels" directory
|
| 29 |
-
wheels_dir = os.path.join(os.path.dirname(__file__), "wheels")
|
| 30 |
-
if os.path.isdir(wheels_dir):
|
| 31 |
-
for file in os.listdir(wheels_dir):
|
| 32 |
-
if file.endswith(".whl"):
|
| 33 |
-
whl_path = os.path.join(wheels_dir, file)
|
| 34 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", whl_path])
|
| 35 |
-
|
| 36 |
|
| 37 |
|
| 38 |
# device
|
|
|
|
| 25 |
|
| 26 |
import sys
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
|
| 30 |
# device
|
requirements.txt
CHANGED
|
@@ -10,4 +10,4 @@ gradio
|
|
| 10 |
onnxruntime
|
| 11 |
fastapi
|
| 12 |
uvicorn[standard]
|
| 13 |
-
|
|
|
|
| 10 |
onnxruntime
|
| 11 |
fastapi
|
| 12 |
uvicorn[standard]
|
| 13 |
+
git+https://github.com/cocktailpeanut/torchmcubes.git
|