mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-08-07 06:28:36 +02:00
Sync CPU offload with dependency updates
This commit is contained in:
@@ -335,7 +335,7 @@ def _yunet_model_path() -> Path:
|
||||
|
||||
model_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
log.info("Downloading YuNet face detector: %s", YUNET_MODEL_URL)
|
||||
request = urllib.request.Request( # noqa: S310 - fixed HTTPS source
|
||||
request = urllib.request.Request(
|
||||
YUNET_MODEL_URL,
|
||||
headers={"User-Agent": "remove-ai-watermarks"},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user