Spaces:
Runtime error
Runtime error
Update overlay.py
Browse files- overlay.py +1 -1
overlay.py
CHANGED
|
@@ -66,7 +66,7 @@ def textover(im,txt):
|
|
| 66 |
return out
|
| 67 |
|
| 68 |
def background_image():
|
| 69 |
-
img_b = np.zeros([512,512,
|
| 70 |
img_b.fill(255)
|
| 71 |
img_b.save("background.png")
|
| 72 |
|
|
|
|
| 66 |
return out
|
| 67 |
|
| 68 |
def background_image():
|
| 69 |
+
img_b = np.zeros([512,512,3],dtype=np.uint8)
|
| 70 |
img_b.fill(255)
|
| 71 |
img_b.save("background.png")
|
| 72 |
|