From 6d2d7d367792fef3ec0f18e4d0b586474bd24d72 Mon Sep 17 00:00:00 2001 From: Xingang Pan Date: Mon, 26 Jun 2023 11:23:01 +0800 Subject: [PATCH] Revise watermark --- README.md | 2 +- viz/renderer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4adcb8f..a2518eb 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ This code is developed based on [StyleGAN3](https://github.com/NVlabs/stylegan3) The code related to the DragGAN algorithm is licensed under [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/). However, most of this project are available under a separate license terms: all codes used or modified from [StyleGAN3](https://github.com/NVlabs/stylegan3) is under the [Nvidia Source Code License](https://github.com/NVlabs/stylegan3/blob/main/LICENSE.txt). -Any form of use and derivative of this code must preserve the watermarking functionality. +Any form of use and derivative of this code must preserve the watermarking functionality showing "AI Generated". ## BibTeX diff --git a/viz/renderer.py b/viz/renderer.py index 250bd35..ed81697 100644 --- a/viz/renderer.py +++ b/viz/renderer.py @@ -45,7 +45,7 @@ class CaptureSuccess(Exception): #---------------------------------------------------------------------------- -def add_watermark_np(input_image_array, watermark_text="Watermark"): +def add_watermark_np(input_image_array, watermark_text="AI Generated"): image = Image.fromarray(np.uint8(input_image_array)).convert("RGBA") # Initialize text image