--- title: gr.Number negative cache bug emoji: 🐛 colorFrom: red colorTo: gray sdk: gradio sdk_version: 6.19.0 app_file: app.py pinned: false --- Minimal repro for the `gr.Examples` + negative `gr.Number` cache crash. Click the example → `json.decoder.JSONDecodeError` (in `Number.read_from_flag`). Flip the `fn` to return a positive number and it reads back fine.