ariankhalfani commited on
Commit
acbef3a
1 Parent(s): 0bbf8d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -119,7 +119,7 @@ def add_text_and_watermark(image, name, age, medical_record, sex, label):
119
  draw = ImageDraw.Draw(image)
120
 
121
  # Load a larger font (adjust the size as needed)
122
- font_size = 48 # Example font size
123
  try:
124
  font = ImageFont.truetype("font.ttf", size=font_size)
125
  except IOError:
 
119
  draw = ImageDraw.Draw(image)
120
 
121
  # Load a larger font (adjust the size as needed)
122
+ font_size = 24 # Example font size
123
  try:
124
  font = ImageFont.truetype("font.ttf", size=font_size)
125
  except IOError: