SauravMaheshkar commited on
Commit
0ebade2
·
unverified ·
1 Parent(s): a96b320

fix: temporarily disable ZeroGPU

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ choice_mapping = {
20
  "large": ["sam2_hiera_l.yaml", "assets/checkpoints/sam2_hiera_large.pt"],
21
  }
22
 
23
- @spaces.GPU
24
  def predict(model_choice: str, annotations, image):
25
  config_file, ckpt_path = choice_mapping[str(model_choice)]
26
  sam2_model = build_sam2(config_file, ckpt_path, device="cuda")
 
20
  "large": ["sam2_hiera_l.yaml", "assets/checkpoints/sam2_hiera_large.pt"],
21
  }
22
 
23
+ # @spaces.GPU
24
  def predict(model_choice: str, annotations, image):
25
  config_file, ckpt_path = choice_mapping[str(model_choice)]
26
  sam2_model = build_sam2(config_file, ckpt_path, device="cuda")