From f5f45002c7a7e22562373d26fd9384fdf440ea80 Mon Sep 17 00:00:00 2001 From: Will Miao <13051207myq@gmail.com> Date: Thu, 11 Sep 2025 12:10:00 +0800 Subject: [PATCH] fix(routes): skip tag check in model validation to allow empty tags --- py/routes/base_model_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/routes/base_model_routes.py b/py/routes/base_model_routes.py index 967a0f9b..ce0e6709 100644 --- a/py/routes/base_model_routes.py +++ b/py/routes/base_model_routes.py @@ -620,7 +620,7 @@ class BaseModelRoutes(ABC): and ( not model.get('civitai') or not model['civitai'].get('id') - or not model.get('tags') + # or not model.get('tags') # Skipping tag cause it could be empty legitimately or not model.get('modelDescription') or not (model.get('civitai') and model['civitai'].get('creator')) )