Spaces:
Sleeping
Sleeping
| from __future__ import annotations | |
| from typing import TypedDict | |
| GalleryItem = tuple[str, str] | |
| class ResultState(TypedDict): | |
| id: str | |
| path: str | |
| filename: str | |
| category: str | |
| score: float | |
| choice_label: str | |
| class FavoriteState(ResultState, total=False): | |
| favorite_path: str | |