Spaces:
Runtime error
Runtime error
Update overlay.py
Browse files- overlay.py +2 -2
overlay.py
CHANGED
@@ -36,8 +36,8 @@ def process(img,font_text,font_fac,font_x,font_y,font_col,font_op):
|
|
36 |
#txt.putalpha(128)
|
37 |
|
38 |
combined = Image.alpha_composite(im, txt)
|
39 |
-
|
40 |
-
return combined
|
41 |
|
42 |
def textover(im,txt):
|
43 |
#im.save('tmp.png')
|
|
|
36 |
#txt.putalpha(128)
|
37 |
|
38 |
combined = Image.alpha_composite(im, txt)
|
39 |
+
combined.save("combined.png")
|
40 |
+
return "combined.png"
|
41 |
|
42 |
def textover(im,txt):
|
43 |
#im.save('tmp.png')
|