This commit is contained in:
Timothy Jaeryang Baek 2025-11-23 15:28:07 -05:00
parent e2ef3d9647
commit f5809165d7

View file

@ -107,8 +107,8 @@ async def get_model_tags(user=Depends(get_verified_user)):
tags_set = set()
for model in models:
if model.meta and model.meta.tags:
for tag in model.meta.tags:
if model.meta and model.meta.get("tags"):
for tag in model.meta.get("tags"):
tags_set.add((tag.get("name")))
tags = [tag for tag in tags_set]