Persist OCR captions in gallery

This commit is contained in:
pewdiepie-archdaemon
2026-06-28 04:50:20 +00:00
parent a6903931f7
commit 3aa48e9025
5 changed files with 60 additions and 2 deletions
+1
View File
@@ -99,6 +99,7 @@ def _image_to_dict(img: GalleryImage, session_name: str = None) -> Dict[str, Any
"filename": img.filename,
"url": f"/api/generated-image/{img.filename}",
"prompt": img.prompt,
"caption": img.caption or "",
"model": img.model,
"size": img.size,
"quality": img.quality,