From d79e8e12ff2a2beb71743f7470af4ab6ca4ce0fa Mon Sep 17 00:00:00 2001 From: brian khuu Date: Mon, 5 Aug 2024 22:39:29 +1000 Subject: [PATCH] py: Add LICENSE_CONTENT to metadata override --- gguf-py/gguf/metadata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gguf-py/gguf/metadata.py b/gguf-py/gguf/metadata.py index cb1119f50..2272402fd 100644 --- a/gguf-py/gguf/metadata.py +++ b/gguf-py/gguf/metadata.py @@ -78,6 +78,7 @@ class Metadata: metadata.size_label = metadata_override.get(Keys.General.SIZE_LABEL, metadata.size_label) metadata.license_name = metadata_override.get(Keys.General.LICENSE_NAME, metadata.license_name) metadata.license_link = metadata_override.get(Keys.General.LICENSE_LINK, metadata.license_link) + metadata.license_content = metadata_override.get(Keys.General.LICENSE_CONTENT, metadata.license_content) metadata.url = metadata_override.get(Keys.General.URL, metadata.url) metadata.doi = metadata_override.get(Keys.General.DOI, metadata.doi)