Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
gradio_demo/gradio_demo.py
CHANGED
|
@@ -18,7 +18,7 @@ import matplotlib.pyplot as pl
|
|
| 18 |
pl.ion()
|
| 19 |
|
| 20 |
CaPE_TYPE = "6DoF"
|
| 21 |
-
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
| 22 |
weight_dtype = torch.float16
|
| 23 |
torch.backends.cuda.matmul.allow_tf32 = True # for gpu >= Ampere and pytorch >= 1.12
|
| 24 |
|
|
|
|
| 18 |
pl.ion()
|
| 19 |
|
| 20 |
CaPE_TYPE = "6DoF"
|
| 21 |
+
device = 'cuda' #if torch.cuda.is_available() else 'cpu'
|
| 22 |
weight_dtype = torch.float16
|
| 23 |
torch.backends.cuda.matmul.allow_tf32 = True # for gpu >= Ampere and pytorch >= 1.12
|
| 24 |
|