Spaces:
Runtime error
Runtime error
watermark
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ MODEL_MAP = {
|
|
36 |
def add_waterprint(img):
|
37 |
|
38 |
h, w, _ = img.shape
|
39 |
-
img = cv2.putText(img, 'Powered by OutfitAnyone', (int(0.
|
40 |
|
41 |
return img
|
42 |
|
|
|
36 |
def add_waterprint(img):
|
37 |
|
38 |
h, w, _ = img.shape
|
39 |
+
img = cv2.putText(img, 'Powered by OutfitAnyone', (int(0.3*w), h-20), cv2.FONT_HERSHEY_PLAIN, 2, (128, 128, 128), 2, cv2.LINE_AA)
|
40 |
|
41 |
return img
|
42 |
|