pip
Browse files
app.py
CHANGED
|
@@ -3,9 +3,9 @@ import shlex
|
|
| 3 |
import spaces
|
| 4 |
import subprocess
|
| 5 |
|
| 6 |
-
print("cd /home/user/app/step1x3d_texture/differentiable_renderer/ &&
|
| 7 |
-
os.system("cd /home/user/app/step1x3d_texture/differentiable_renderer/ &&
|
| 8 |
-
|
| 9 |
subprocess.run(shlex.split("pip install custom_rasterizer-0.1-cp310-cp310-linux_x86_64.whl"), check=True)
|
| 10 |
import time
|
| 11 |
import uuid
|
|
|
|
| 3 |
import spaces
|
| 4 |
import subprocess
|
| 5 |
|
| 6 |
+
print("cd /home/user/app/step1x3d_texture/differentiable_renderer/ && python setup.py install")
|
| 7 |
+
os.system("cd /home/user/app/step1x3d_texture/differentiable_renderer/ && python setup.py install")
|
| 8 |
+
|
| 9 |
subprocess.run(shlex.split("pip install custom_rasterizer-0.1-cp310-cp310-linux_x86_64.whl"), check=True)
|
| 10 |
import time
|
| 11 |
import uuid
|