Skip to content

Commit bcb45d2

Browse files
committed
Bump version to 0.10.0
1 parent 4f2480d commit bcb45d2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "zoomaker"
3-
version = "0.9.1"
3+
version = "0.10.0"
44
description = "Zoomaker - Friendly house keeping for your AI model zoo and related resources."
55
authors = ["Benedikt Groß"]
66
readme = "README.md"

zoomaker.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def install(self):
8383
# logger.info(f"\t repo_filename: {repo_filename}")
8484
# logger.info(f"\t destination: {destination}")
8585
# logger.info(f"\t destinationRenamed: {destinationRenamed}")
86-
86+
8787
downloaded = hf_hub_download(repo_id=repo_id, filename=repo_filepath, local_dir=install_to, revision=revision)
8888
logger.info(f"\t size: {self._get_file_size(downloaded)}")
8989
if rename_to:
@@ -92,7 +92,7 @@ def install(self):
9292
else:
9393
self._rename_file(downloaded, destination)
9494
logger.info(f"\t Downloaded to: {destination}")
95-
95+
9696
# Git
9797
elif type == "git":
9898
repo_path = os.path.join(install_to, self._get_repo_name(src))
@@ -196,7 +196,7 @@ def _download_file(self, src, install_to, name, bearer_token = None):
196196
if 'text/html' in content_type or 'application/xhtml+xml' in content_type:
197197
logger.error(f"\t ❌ Received HTML response instead of file. If you are downloading from civitai you will need to add api_key: YOUR_CIVITAI_API_KEY to the resource.")
198198
return None
199-
199+
200200
# Rest of the method...
201201
content_disposition = response.headers.get('Content-Disposition')
202202
logger.info(f"\t Content-Disposition: {content_disposition}")
@@ -258,7 +258,7 @@ def main():
258258
parser.add_argument("command", nargs="?", choices=["install", "run"], help="The command to execute.")
259259
parser.add_argument("script", nargs="?", help="The script name to execute.")
260260
parser.add_argument("-f", "--file", default="zoo.yaml", help="The YAML file to use.")
261-
parser.add_argument("-v", "--version", action="version", help="The current version of the zoomaker.", version="0.9.0")
261+
parser.add_argument("-v", "--version", action="version", help="The current version of the zoomaker.", version="0.10.0")
262262
args = parser.parse_args()
263263

264264
if args.command == "install":

0 commit comments

Comments
 (0)