Spaces:
Running on Zero
Running on Zero
| """Image helpers for the initial MVP.""" | |
| from __future__ import annotations | |
| from pathlib import Path | |
| def image_filename(image_path: str | None) -> str: | |
| if not image_path: | |
| return "no image" | |
| return Path(image_path).name | |