from huggingface_hub import snapshot_download
from pathlib import Path
from PIL import Image
root = Path(snapshot_download("ynyg/InkEraser", repo_type="dataset"))… See the full description on the dataset page:
https://huggingface.co/datasets/ynyg/InkEraser.