Skip to content

Commit f6c25d9

Browse files
authored
Update gguf-py/gguf/metadata.py
1 parent 683308a commit f6c25d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gguf-py/gguf/metadata.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def load_model_card(model_path: Optional[Path] = None) -> dict[str, Any]:
143143

144144
# Quick hack to fix the Norway problem
145145
# https://hitchdev.com/strictyaml/why/implicit-typing-removed/
146+
yaml_content += "\n"
146147
yaml_content = yaml_content.replace("- no\n", "- \"no\"\n")
147148

148149
if yaml_content:

0 commit comments

Comments
 (0)