Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,7 +115,6 @@ def server(input: Inputs, output: Outputs, session: Session):
|
|
| 115 |
else:
|
| 116 |
return None # Return an empty string if no image is uploaded
|
| 117 |
|
| 118 |
-
@reactive.Calc
|
| 119 |
def generate_input_points(image, grid_size=10):
|
| 120 |
"""
|
| 121 |
input_points (torch.FloatTensor of shape (batch_size, num_points, 2)) —
|
|
|
|
| 115 |
else:
|
| 116 |
return None # Return an empty string if no image is uploaded
|
| 117 |
|
|
|
|
| 118 |
def generate_input_points(image, grid_size=10):
|
| 119 |
"""
|
| 120 |
input_points (torch.FloatTensor of shape (batch_size, num_points, 2)) —
|