This commit is contained in:
Daniel Gatis 2020-08-19 10:32:38 -03:00
parent 28100b3a52
commit 1478c5845c
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@ with open("requirements.txt") as f:
setup(
name="rembg",
version="1.0.5",
version="1.0.6",
description="Remove image background",
long_description=long_description,
long_description_content_type="text/markdown",

View File

@ -28,6 +28,8 @@ def download_url(url, model_name, output_path):
if os.path.exists(output_path):
return
os.makedirs(os.path.expanduser("~/.u2net"), exist_ok=True)
print(
f"Downloading model to {output_path}".format(output_path=output_path),
file=sys.stderr,