Spaces:
Runtime error
Runtime error
lkeab
commited on
Commit
•
4579715
1
Parent(s):
6b8f616
update app
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ predictor = DefaultPredictor(cfg)
|
|
38 |
|
39 |
|
40 |
def inference(image):
|
41 |
-
|
42 |
|
43 |
#img = np.array(image)
|
44 |
outputs = predictor(img)
|
|
|
38 |
|
39 |
|
40 |
def inference(image):
|
41 |
+
img = np.asarray(image)
|
42 |
|
43 |
#img = np.array(image)
|
44 |
outputs = predictor(img)
|