Spaces:
Configuration error
Configuration error
jiaweir
commited on
Commit
·
e8ff8db
1
Parent(s):
5b9bbe2
optimize
Browse files
app.py
CHANGED
|
@@ -7,6 +7,9 @@ import numpy
|
|
| 7 |
import hashlib
|
| 8 |
import shlex
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
import rembg
|
| 11 |
import glob
|
| 12 |
import cv2
|
|
@@ -30,8 +33,7 @@ from main_4d_demo import process as process_dg4d
|
|
| 30 |
import spaces
|
| 31 |
|
| 32 |
|
| 33 |
-
|
| 34 |
-
# subprocess.run(shlex.split("pip install xformers==0.0.23 --no-deps --index-url https://download.pytorch.org/whl/cu118"))
|
| 35 |
|
| 36 |
from huggingface_hub import hf_hub_download
|
| 37 |
ckpt_path = hf_hub_download(repo_id="ashawkey/LGM", filename="model_fp16_fixrot.safetensors")
|
|
|
|
| 7 |
import hashlib
|
| 8 |
import shlex
|
| 9 |
|
| 10 |
+
subprocess.run(shlex.split("pip install wheels/diff_gaussian_rasterization-0.0.0-cp310-cp310-linux_x86_64.whl"))
|
| 11 |
+
# subprocess.run(shlex.split("pip install xformers==0.0.23 --no-deps --index-url https://download.pytorch.org/whl/cu118"))
|
| 12 |
+
|
| 13 |
import rembg
|
| 14 |
import glob
|
| 15 |
import cv2
|
|
|
|
| 33 |
import spaces
|
| 34 |
|
| 35 |
|
| 36 |
+
|
|
|
|
| 37 |
|
| 38 |
from huggingface_hub import hf_hub_download
|
| 39 |
ckpt_path = hf_hub_download(repo_id="ashawkey/LGM", filename="model_fp16_fixrot.safetensors")
|