Skip to content

Commit 3eed4fc

Browse files
committed
v0.1.8
1 parent 34b747b commit 3eed4fc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "inferencesh"
7-
version = "0.1.7"
7+
version = "0.1.8"
88
description = "inference.sh Python SDK"
99
authors = [
1010
{name = "Inference Shell Inc.", email = "hello@inference.sh"},

src/inferencesh/sdk.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class File(BaseModel):
3939
def __init__(self, **data):
4040
super().__init__(**data)
4141
if self._is_url(self.path):
42+
print(f"Downloading URL: {self.path}")
4243
self._download_url()
4344
elif not os.path.isabs(self.path):
4445
self.path = os.path.abspath(self.path)
@@ -58,6 +59,7 @@ def _download_url(self) -> None:
5859
self._tmp_path = tmp_file.name
5960

6061
# Download the file
62+
print(f"Downloading URL: {original_url} to {self._tmp_path}")
6163
urllib.request.urlretrieve(original_url, self._tmp_path)
6264
self.path = self._tmp_path
6365

0 commit comments

Comments
 (0)