Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,6 @@ detector = Predictor(config)
|
|
16 |
def run(source):
|
17 |
global detector
|
18 |
img = Image.open(source)
|
19 |
-
img = img.convert('L')
|
20 |
result = detector.predict(img)
|
21 |
return result
|
22 |
|
|
|
16 |
def run(source):
|
17 |
global detector
|
18 |
img = Image.open(source)
|
|
|
19 |
result = detector.predict(img)
|
20 |
return result
|
21 |
|