Spaces:
Runtime error
Runtime error
Commit
•
01ffb04
1
Parent(s):
8eab7a1
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def inference(img, lang):
|
|
42 |
#mask = PIL.Image.open(img.name)
|
43 |
mask = Image.new("L", im.size, 0)
|
44 |
draw_mask(mask, bounds)
|
45 |
-
masking(im, mask)
|
46 |
#img_inpainted = cv2.inpaint(im, mask, 7, cv2.INPAINT_NS)
|
47 |
#remove_text(im, mask, bounds)
|
48 |
lang = ""
|
|
|
42 |
#mask = PIL.Image.open(img.name)
|
43 |
mask = Image.new("L", im.size, 0)
|
44 |
draw_mask(mask, bounds)
|
45 |
+
#masking(im, mask)
|
46 |
#img_inpainted = cv2.inpaint(im, mask, 7, cv2.INPAINT_NS)
|
47 |
#remove_text(im, mask, bounds)
|
48 |
lang = ""
|