Spaces:
Running
Running
dev(narugo): support multiple sites
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def _get_from_raw_ids(ids: List[str]) -> Dict[str, Image.Image]:
|
|
59 |
for site_name, site_ids in _sites.items():
|
60 |
_retval.update({
|
61 |
f'{site_name}_{id_}': image
|
62 |
-
for id_, image in _get_from_ids(site_name, site_ids)
|
63 |
})
|
64 |
return _retval
|
65 |
|
|
|
59 |
for site_name, site_ids in _sites.items():
|
60 |
_retval.update({
|
61 |
f'{site_name}_{id_}': image
|
62 |
+
for id_, image in _get_from_ids(site_name, site_ids).items()
|
63 |
})
|
64 |
return _retval
|
65 |
|