Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ predictor = DefaultPredictor(cfg)
|
|
33 |
|
34 |
def segment_buildings(inp):
|
35 |
|
36 |
-
im = cv2.imread(
|
37 |
outputs = predictor(im)
|
38 |
v = Visualizer(im[:, :, ::-1],
|
39 |
scale=0.5,
|
|
|
33 |
|
34 |
def segment_buildings(inp):
|
35 |
|
36 |
+
im = cv2.imread(inp)
|
37 |
outputs = predictor(im)
|
38 |
v = Visualizer(im[:, :, ::-1],
|
39 |
scale=0.5,
|