Spaces:
Runtime error
Runtime error
Update overlay.py
Browse files- overlay.py +1 -0
overlay.py
CHANGED
@@ -6,6 +6,7 @@ def process(img,font_text,font_fac,font_x,font_y,font_col,font_op):
|
|
6 |
|
7 |
img = Image.open('tmp.png').convert("RGBA")
|
8 |
im=img
|
|
|
9 |
#im=Image.open(img)
|
10 |
txt = Image.new('RGBA', im.size, (255,255,255,0))
|
11 |
|
|
|
6 |
|
7 |
img = Image.open('tmp.png').convert("RGBA")
|
8 |
im=img
|
9 |
+
img.close()
|
10 |
#im=Image.open(img)
|
11 |
txt = Image.new('RGBA', im.size, (255,255,255,0))
|
12 |
|