Update gradio_keylock/component.py
Browse files
gradio_keylock/component.py
CHANGED
@@ -130,7 +130,7 @@ class AppServerLogic:
|
|
130 |
font_bold = self._get_font(PREFERRED_FONTS, 30)
|
131 |
draw.rectangle([0, 20, width, 80], fill=overlay_color)
|
132 |
draw.text((width / 2, 50), "KeyLock Secure Data", fill=title_color, font=font_bold, anchor="ms")
|
133 |
-
draw.text((width / 2,
|
134 |
final_image_rgb = Image.new("RGB", img_overlayed.size, (0, 0, 0))
|
135 |
final_image_rgb.paste(img_overlayed, (0, 0), img_overlayed)
|
136 |
return final_image_rgb
|
|
|
130 |
font_bold = self._get_font(PREFERRED_FONTS, 30)
|
131 |
draw.rectangle([0, 20, width, 80], fill=overlay_color)
|
132 |
draw.text((width / 2, 50), "KeyLock Secure Data", fill=title_color, font=font_bold, anchor="ms")
|
133 |
+
draw.text((width / 2, 80), "Secure Keys", fill=title_color, font=font_bold, anchor="ms")
|
134 |
final_image_rgb = Image.new("RGB", img_overlayed.size, (0, 0, 0))
|
135 |
final_image_rgb.paste(img_overlayed, (0, 0), img_overlayed)
|
136 |
return final_image_rgb
|