Spaces:
Runtime error
Runtime error
fix
Browse files
app.py
CHANGED
|
@@ -20,6 +20,7 @@ model = model.eval()
|
|
| 20 |
|
| 21 |
|
| 22 |
def segment_and_show(image):
|
|
|
|
| 23 |
input_image = Image.fromarray(image)
|
| 24 |
input_tensor = torch.tensor(np.array(input_image))
|
| 25 |
input_tensor = input_tensor.permute(2, 0, 1)
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
def segment_and_show(image):
|
| 23 |
+
# abc
|
| 24 |
input_image = Image.fromarray(image)
|
| 25 |
input_tensor = torch.tensor(np.array(input_image))
|
| 26 |
input_tensor = input_tensor.permute(2, 0, 1)
|