Dataset Viewer
The dataset viewer is not available for this dataset.
The JWT signature verification failed. Check the signing key and the algorithm.
Error code:   JWTInvalidSignature
Exception:    InvalidSignatureError
Message:      Signature verification failed
Traceback:    Traceback (most recent call last):
                File "/src/libs/libapi/src/libapi/jwt_token.py", line 286, in validate_jwt
                  decoded = jwt.decode(
                      jwt=token,
                  ...<2 lines>...
                      options=options,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 368, in decode
                  decoded = self.decode_complete(
                      jwt,
                  ...<8 lines>...
                      leeway=leeway,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 265, in decode_complete
                  decoded = self._jws.decode_complete(
                      jwt,
                  ...<3 lines>...
                      detached_payload=detached_payload,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 270, in decode_complete
                  self._verify_signature(
                  ~~~~~~~~~~~~~~~~~~~~~~^
                      signing_input,
                      ^^^^^^^^^^^^^^
                  ...<4 lines>...
                      options=merged_options,
                      ^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 417, in _verify_signature
                  raise InvalidSignatureError("Signature verification failed")
              jwt.exceptions.InvalidSignatureError: Signature verification failed

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Gradio Space Example Inputs — Images

A small, curated, freely-licensed pool of images used as gr.Examples for Gradio Spaces that wrap image-input generation models (image-to-image, edits, controls, etc.). Sister dataset for videos: linoyts/repo-to-space-example-videos.

When a Space takes image input, the agent building the Space picks 2–3 images whose caption + categories match the model's task, downloads them via hf_hub_download, runs any model-specific preprocessing (resize to expected shapes), and wires them into gr.Examples. The Space ships the preprocessed copies; this dataset is the source of truth.

The set is intentionally diverse on subject, framing, and style so a caller can pick examples that flatter a specific model without needing to source new media each time.

Schema

metadata.jsonl — one JSON object per line, one record per asset:

{
  "file_name": "woman.jpg",
  "type": "image",
  "width": 683,
  "height": 1024,
  "categories": ["portrait", "person"],
  "caption": "Vertical street portrait of a smiling young Black woman ...",
  "source": "pexels-or-similar",
  "license": "free-to-use (CC0-style)"
}

The asset key is file_name (with underscore) — required by HF's folder_based_builder for the dataset viewer; other spellings (filename, path, ...) break it with SplitsNotFoundError.

Field Type Notes
file_name string Filename in this repo root.
type "image"
width, height int Stored dimensions (post the source-shape constraints below).
categories list of strings Coarse subject tags for fast filtering.
caption string Natural-language description: subject(s), setting/background, lighting, composition. No use-case judgments — the caller infers fit from the description.
source, license string Provenance / licensing.

categories are for cheap pre-filtering (drop landscape for a face-edit model, etc.). caption is for the finer matching step against the target model's task or example prompts.

Picking examples for a Space

  1. Soft filter by categories — drop tags that are clearly off-task for the target model (e.g. landscape for a face-edit model).
  2. Rank by caption fit — read the surviving captions against the model's task description, trigger words, or example prompts; pick 2–3 the model will plausibly produce a good output on, not just any input that doesn't crash.
  3. Diversify the final picks — different subjects, framings, or lighting conditions — so the Examples row teaches users the breadth of what the Space handles.
from huggingface_hub import hf_hub_download
import json

DATASET = "linoyts/repo-to-space-example-inputs"
meta = [json.loads(l) for l in open(
    hf_hub_download(DATASET, filename="metadata.jsonl", repo_type="dataset"))]

# ... filter + rank using `categories` and `caption` ...

chosen = ["woman.jpg", "man_beach.jpg", "girl_with_dog.jpg"]
paths = [hf_hub_download(DATASET, filename=f, repo_type="dataset") for f in chosen]
# preprocess paths for the target model, then pass to gr.Examples in the Space.

Pre-bake the preprocessed copies into the Space repo. Don't rely on the dataset at Space runtime, and don't set cache_examples=True on ZeroGPU.

Source-shape constraints

  • Images: max 1024 px on the long edge, JPEG quality 90.

Callers resize further per model (e.g. Qwen-Image wants multiples of 8/16).

License

All assets are sourced from royalty-free providers (Pexels / Unsplash and similar) under licenses that permit redistribution and modification without attribution. Released here as CC0-1.0 for simplicity.

Downloads last month
202