Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -215,8 +215,8 @@ def blur_im(img,bounds):
|
|
215 |
|
216 |
#fontpath = "tamil/Latha.ttf"
|
217 |
text = "New Text"
|
218 |
-
|
219 |
-
font = ImageFont.load("arial.pil")
|
220 |
#font = ImageFont.truetype(fontpath, 32)
|
221 |
im = Image.fromarray(im)
|
222 |
for bound in bounds:
|
|
|
215 |
|
216 |
#fontpath = "tamil/Latha.ttf"
|
217 |
text = "New Text"
|
218 |
+
font = ImageFont.truetype("Pillow/Tests/fonts/FreeMono.ttf", 40)
|
219 |
+
#font = ImageFont.load("arial.pil")
|
220 |
#font = ImageFont.truetype(fontpath, 32)
|
221 |
im = Image.fromarray(im)
|
222 |
for bound in bounds:
|