niulx commited on
Commit
111753d
1 Parent(s): 041b7a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import os
2
  import copy
3
- import spaces
4
  from PIL import Image
5
  import matplotlib
6
  import numpy as np
@@ -36,7 +36,7 @@ def create_segmentation(mask_np_list):
36
  return segmentation
37
 
38
 
39
- @spaces.GPU
40
  def run_segmentation_wrapper(image):
41
  try:
42
  image, mask_np_list,mask_label_list = run_segmentation(image)
 
1
  import os
2
  import copy
3
+ #import spaces
4
  from PIL import Image
5
  import matplotlib
6
  import numpy as np
 
36
  return segmentation
37
 
38
 
39
+ #@spaces.GPU
40
  def run_segmentation_wrapper(image):
41
  try:
42
  image, mask_np_list,mask_label_list = run_segmentation(image)