aagoluoglu commited on
Commit
52d347e
·
verified ·
1 Parent(s): d0ed41b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -176,6 +176,8 @@ def server(input: Inputs, output: Outputs, session: Session):
176
  """ Prepare Inputs """
177
  # get input points prompt (grid of points)
178
  input_points = generate_input_points(image)
 
 
179
 
180
  # prepare image and prompt for the model
181
  inputs = processor(image, input_points=input_points, return_tensors="pt")
 
176
  """ Prepare Inputs """
177
  # get input points prompt (grid of points)
178
  input_points = generate_input_points(image)
179
+ print(np.array(input_points).shape)
180
+ print(image.shape)
181
 
182
  # prepare image and prompt for the model
183
  inputs = processor(image, input_points=input_points, return_tensors="pt")