Spaces:
Runtime error
Runtime error
lkeab
commited on
Commit
·
c953948
1
Parent(s):
67eeaaa
update app
Browse files
app.py
CHANGED
|
@@ -37,6 +37,7 @@ predictor = DefaultPredictor(cfg)
|
|
| 37 |
|
| 38 |
|
| 39 |
def inference(image):
|
|
|
|
| 40 |
img = np.asarray(image)
|
| 41 |
|
| 42 |
#img = np.array(image)
|
|
|
|
| 37 |
|
| 38 |
|
| 39 |
def inference(image):
|
| 40 |
+
image = image.resize((1024,1024))
|
| 41 |
img = np.asarray(image)
|
| 42 |
|
| 43 |
#img = np.array(image)
|