paul hilders commited on
Commit
6db570e
1 Parent(s): 201e3f5

Label colored black

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ iface = gr.Interface(fn=run_demo,
81
  def add_label_to_img(img, label):
82
  img = ImageOps.expand(img, border=45, fill=(255,255,255))
83
  draw = ImageDraw.Draw(img)
84
- draw.text((0,0), label, align="center")
85
 
86
  return img
87
 
 
81
  def add_label_to_img(img, label):
82
  img = ImageOps.expand(img, border=45, fill=(255,255,255))
83
  draw = ImageDraw.Draw(img)
84
+ draw.text((0,0), label, align="center", fill=(0, 0, 0))
85
 
86
  return img
87