FrancescoLR commited on
Commit
2bce9bd
·
1 Parent(s): 94ba9ed

Updated app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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:0" # Explicitly use GPU 0
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)