ameerazam08 commited on
Commit
8473f85
·
verified ·
1 Parent(s): 3a618ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ def split_rgb_mask(rgb_image, seg_image):
159
  return instance_rgbs, instance_masks, scene_rgbs
160
 
161
 
162
- # @spaces.GPU()
163
  @torch.no_grad()
164
  @torch.autocast(device_type=DEVICE, dtype=torch.bfloat16)
165
  def run_segmentation(image_prompts: Any, polygon_refinement: bool) -> Image.Image:
 
159
  return instance_rgbs, instance_masks, scene_rgbs
160
 
161
 
162
+ @spaces.GPU()
163
  @torch.no_grad()
164
  @torch.autocast(device_type=DEVICE, dtype=torch.bfloat16)
165
  def run_segmentation(image_prompts: Any, polygon_refinement: bool) -> Image.Image: