Spaces:
Runtime error
Runtime error
Update gradio_demo.py
Browse files- gradio_demo.py +3 -1
gradio_demo.py
CHANGED
|
@@ -6,13 +6,15 @@ try:
|
|
| 6 |
from train import *
|
| 7 |
print('==> simple-knn & diff-gaussian-rasterization already installed!')
|
| 8 |
except:
|
|
|
|
| 9 |
# https://github.com/pytorch/extension-cpp/issues/71
|
| 10 |
os.environ["TORCH_CUDA_ARCH_LIST"] = "3.5;5.0;6.0;6.1;7.0;7.5;8.0;8.6+PTX"
|
| 11 |
print('==> TORCH_CUDA_ARCH_LIST =', os.environ.get('TORCH_CUDA_ARCH_LIST'))
|
| 12 |
os.system("python -m pip install git+https://github.com/YixunLiang/simple-knn.git")
|
| 13 |
print('==> simple-knn installed!')
|
| 14 |
os.system("python -m pip install git+https://github.com/YixunLiang/diff-gaussian-rasterization.git")
|
| 15 |
-
print('==> diff-gaussian-rasterization installed!')
|
|
|
|
| 16 |
|
| 17 |
example_inputs = [[
|
| 18 |
"A DSLR photo of a Rugged, vintage-inspired hiking boots with a weathered leather finish, best quality, 4K, HD.",
|
|
|
|
| 6 |
from train import *
|
| 7 |
print('==> simple-knn & diff-gaussian-rasterization already installed!')
|
| 8 |
except:
|
| 9 |
+
print('==> simple-knn & diff-gaussian-rasterization are NOT installed!')
|
| 10 |
# https://github.com/pytorch/extension-cpp/issues/71
|
| 11 |
os.environ["TORCH_CUDA_ARCH_LIST"] = "3.5;5.0;6.0;6.1;7.0;7.5;8.0;8.6+PTX"
|
| 12 |
print('==> TORCH_CUDA_ARCH_LIST =', os.environ.get('TORCH_CUDA_ARCH_LIST'))
|
| 13 |
os.system("python -m pip install git+https://github.com/YixunLiang/simple-knn.git")
|
| 14 |
print('==> simple-knn installed!')
|
| 15 |
os.system("python -m pip install git+https://github.com/YixunLiang/diff-gaussian-rasterization.git")
|
| 16 |
+
print('==> diff-gaussian-rasterization installed!')
|
| 17 |
+
from train import *
|
| 18 |
|
| 19 |
example_inputs = [[
|
| 20 |
"A DSLR photo of a Rugged, vintage-inspired hiking boots with a weathered leather finish, best quality, 4K, HD.",
|