Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -12,12 +12,14 @@ import sf3d.utils as sf3d_utils
|
|
12 |
from gradio_litmodel3d import LitModel3D
|
13 |
from huggingface_hub import login
|
14 |
import subprocess
|
15 |
-
|
16 |
dtype = torch.bfloat16
|
17 |
|
18 |
torch.backends.cuda.matmul.allow_tf32 = True
|
19 |
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
20 |
|
|
|
|
|
21 |
import shutil
|
22 |
|
23 |
def find_cuda():
|
|
|
12 |
from gradio_litmodel3d import LitModel3D
|
13 |
from huggingface_hub import login
|
14 |
import subprocess
|
15 |
+
|
16 |
dtype = torch.bfloat16
|
17 |
|
18 |
torch.backends.cuda.matmul.allow_tf32 = True
|
19 |
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
20 |
|
21 |
+
device = torch.device('cuda')
|
22 |
+
|
23 |
import shutil
|
24 |
|
25 |
def find_cuda():
|