refactored template code to fix #213

This commit is contained in:
Rhet Turnbull
2020-10-17 23:21:08 -07:00
parent 1332e7b45a
commit ff0fdffa9b
47 changed files with 527 additions and 248 deletions

View File

@@ -24,6 +24,7 @@ KEYWORDS = [
"St. James's Park",
"UK",
"United Kingdom",
"foo/bar",
]
# Photos 5 includes blank person for detected face
PERSONS = ["Katie", "Suzy", "Maria", _UNKNOWN_PERSON]
@@ -47,6 +48,7 @@ KEYWORDS_DICT = {
"St. James's Park": 1,
"UK": 1,
"United Kingdom": 1,
"foo/bar": 1,
}
PERSONS_DICT = {"Katie": 3, "Suzy": 2, "Maria": 2, _UNKNOWN_PERSON: 1}
ALBUM_DICT = {