Gradio #13637 — Custom-component gallery (before)

This reproduces the gallery’s data-loading path. With an API outage, the before behavior returns an empty gallery; the after behavior loads and filters the maintained backup dataset.