Omnibus commited on
Commit
f102c7e
Β·
1 Parent(s): 4f34618

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -216,6 +216,7 @@ def blur_im(img,bounds):
216
 
217
  #font = ImageFont.truetype(fontpath, 32)
218
  #img_pil = Image.fromarray(img)
 
219
  draw = ImageDraw.Draw(im)
220
  draw.text((x+5, y+5),text, font = None)
221
  #img_tamil = np.array(img_pil)
 
216
 
217
  #font = ImageFont.truetype(fontpath, 32)
218
  #img_pil = Image.fromarray(img)
219
+ im = PIL.Image.open(im)
220
  draw = ImageDraw.Draw(im)
221
  draw.text((x+5, y+5),text, font = None)
222
  #img_tamil = np.array(img_pil)