Refactor `example_inputs()`, separating its logic into two separate methods: `example_payload()` and `example_value()` (#7620)
* fix
* lint
* add changeset
* add changeset
* example
* checkbox
* fix, add test
* fixes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>