Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ from PIL import Image
|
|
5 |
from functools import partial
|
6 |
import argparse
|
7 |
|
|
|
|
|
8 |
import cv2
|
9 |
import time
|
10 |
import numpy as np
|
@@ -42,8 +44,6 @@ The demo only contains the 3D reconstruction part.
|
|
42 |
'''
|
43 |
_GPU_ID = 0
|
44 |
|
45 |
-
os.system('pip install --global-option="--no-networks" git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch')
|
46 |
-
|
47 |
if not hasattr(Image, 'Resampling'):
|
48 |
Image.Resampling = Image
|
49 |
|
|
|
5 |
from functools import partial
|
6 |
import argparse
|
7 |
|
8 |
+
os.system('pip install --global-option="--no-networks" git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch')
|
9 |
+
|
10 |
import cv2
|
11 |
import time
|
12 |
import numpy as np
|
|
|
44 |
'''
|
45 |
_GPU_ID = 0
|
46 |
|
|
|
|
|
47 |
if not hasattr(Image, 'Resampling'):
|
48 |
Image.Resampling = Image
|
49 |
|