Skip to content

Commit b816d92

Browse files
committed
Additional fixes and updates to the native code
1 parent 28f9733 commit b816d92

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed
-316 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

‎llmware/resources.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def pull_single_model_from_llmware_public_repo(self, model_name=None):
403403

404404
# simple model_repo structure - each model is a separate folder
405405
# each model is a 'flat list' of files, so safe to split on ("/") to get key name
406-
if not file.key.endswith(os.sep):
406+
if not file.key.endswith('/'):
407407
local_file_path = os.path.join(local_model_folder,file.key.split('/')[-1])
408408
bucket.download_file(file.key, local_file_path)
409409

0 commit comments

Comments
 (0)