Omnibus commited on
Commit
a29de15
Β·
1 Parent(s): 48ac023

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -217,8 +217,8 @@ def blur_im(img,bounds):
217
 
218
 
219
  #fontpath = "tamil/Latha.ttf"
220
- #text = "ポむ橋て禁"
221
- text = "New Text"
222
  #font = ImageFont.load_default()
223
 
224
  #font = ImageFont.load("arial.pil")
@@ -232,7 +232,7 @@ def blur_im(img,bounds):
232
  h = int(p2[1]) - int(y)
233
  draw = ImageDraw.Draw(im)
234
 
235
- font_size=round(int(w)*0.33)
236
  font = ImageFont.truetype("./fonts/unifont-15.0.01.ttf", int(font_size))
237
 
238
 
 
217
 
218
 
219
  #fontpath = "tamil/Latha.ttf"
220
+ text = "ポむ橋て禁"
221
+ #text = "New Text"
222
  #font = ImageFont.load_default()
223
 
224
  #font = ImageFont.load("arial.pil")
 
232
  h = int(p2[1]) - int(y)
233
  draw = ImageDraw.Draw(im)
234
 
235
+ font_size=round(int(w)*0.2)
236
  font = ImageFont.truetype("./fonts/unifont-15.0.01.ttf", int(font_size))
237
 
238