Spaces:
Runtime error
Runtime error
DerrylNessie
commited on
Commit
•
e9392a7
1
Parent(s):
99a6dd8
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def inference(img, lang):
|
|
45 |
#remove_text(im, mask, bounds)
|
46 |
lang = ""
|
47 |
im.save('result.jpg')
|
48 |
-
mask.save('mask.
|
49 |
return ['result.jpg', 'mask.jpg', pd.DataFrame(bounds). iloc[: , 1:2]]
|
50 |
|
51 |
title = 'EasyOCR'
|
|
|
45 |
#remove_text(im, mask, bounds)
|
46 |
lang = ""
|
47 |
im.save('result.jpg')
|
48 |
+
mask.save('mask.jpg')
|
49 |
return ['result.jpg', 'mask.jpg', pd.DataFrame(bounds). iloc[: , 1:2]]
|
50 |
|
51 |
title = 'EasyOCR'
|