refactor: rename from dataset.yml
Browse files
configs/{dataset.yml β font.yml}
RENAMED
File without changes
|
font_dataset/font.py
CHANGED
@@ -13,7 +13,7 @@ class DSFont:
|
|
13 |
self.language = language
|
14 |
|
15 |
|
16 |
-
def load_fonts(config_path="configs/
|
17 |
with open(config_path, "r", encoding="utf-8") as f:
|
18 |
config = yaml.safe_load(f)
|
19 |
|
|
|
13 |
self.language = language
|
14 |
|
15 |
|
16 |
+
def load_fonts(config_path="configs/font.yml") -> list[DSFont]:
|
17 |
with open(config_path, "r", encoding="utf-8") as f:
|
18 |
config = yaml.safe_load(f)
|
19 |
|