Fix the problem of repeatedly trying to fetch model description metadata when the model has a null description.

This commit is contained in:
Will Miao
2025-03-12 15:25:58 +08:00
parent 03ddd51a91
commit e9a703451c
2 changed files with 3 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ class CivitaiClient:
# Extract relevant metadata
metadata = {
"description": data.get("description", ""),
"description": data.get("description") or "No model description available",
"tags": data.get("tags", [])
}