We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1f70c0 commit a1a81eeCopy full SHA for a1a81ee
1 file changed
src/together/filemanager.py
@@ -73,7 +73,6 @@ def _get_file_size(
73
if len(range_parts) == 2:
74
total_size_in_bytes = int(range_parts[1])
75
76
- assert total_size_in_bytes != 0, "Unable to retrieve remote file."
77
78
return total_size_in_bytes
79
@@ -213,7 +212,6 @@ def download(
213
212
if not fetch_metadata:
214
file_size = int(response.headers.get("content-length", 0))
215
216
- assert file_size != 0, "Unable to retrieve remote file."
217
218
with tqdm(
219
total=file_size,
0 commit comments