refactor(BaseModelRoutes): temporary comment out model description and creator checks

This commit is contained in:
Will Miao
2025-09-13 13:07:25 +08:00
parent 13f13eb095
commit 1a76f74482

View File

@@ -630,8 +630,8 @@ class BaseModelRoutes(ABC):
not model.get('civitai') not model.get('civitai')
or not model['civitai'].get('id') or not model['civitai'].get('id')
# or not model.get('tags') # Skipping tag cause it could be empty legitimately # or not model.get('tags') # Skipping tag cause it could be empty legitimately
or not model.get('modelDescription') # or not model.get('modelDescription')
or not (model.get('civitai') and model['civitai'].get('creator')) # or not (model.get('civitai') and model['civitai'].get('creator'))
) )
and ( and (
(enable_metadata_archive_db) (enable_metadata_archive_db)