File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " inferencesh"
7- version = " 0.1.7 "
7+ version = " 0.1.8 "
88description = " inference.sh Python SDK"
99authors = [
1010 {name = " Inference Shell Inc." , email = " hello@inference.sh" },
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments