Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
2bce9bd
1
Parent(s):
94ba9ed
Updated app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def run_nnunet_predict(nifti_file):
|
|
50 |
"-d", "004", # Dataset ID
|
51 |
"-c", "3d_fullres", # Configuration
|
52 |
"-tr", "nnUNetTrainer_8000epochs",
|
53 |
-
"-device", "cuda
|
54 |
]
|
55 |
try:
|
56 |
subprocess.run(command, check=True)
|
|
|
50 |
"-d", "004", # Dataset ID
|
51 |
"-c", "3d_fullres", # Configuration
|
52 |
"-tr", "nnUNetTrainer_8000epochs",
|
53 |
+
"-device", "cuda" # Explicitly use GPU 0
|
54 |
]
|
55 |
try:
|
56 |
subprocess.run(command, check=True)
|