class_docstr: Creates a set of (string or numeric type) radio buttons of which only one can be selected.
  Preprocessing: passes the value of the selected radio button as a {str} or {int} or {float} or its index as an {int} into the function, depending on `type`.
  Postprocessing: expects a {str} or {int} or {float} corresponding to the value of the radio button to be selected.
  Examples-format: a {str} representing the radio option to select.
  
  Demos: sentence_builder, titanic_survival, blocks_essay
class_docstr_tok: ["Creates","a","set","of","(","string","or","numeric","type",")","radio","buttons","of","which","only","one","can","be","selected",".","Preprocessing",":","passes","the","value","of","the","selected","radio","button","as","a","{","str","}","or","{","int","}","or","{","float","}","or","its","index","as","an","{","int","}","into","the","function",",","depending","on","`","type","`",".","Postprocessing",":","expects","a","{","str","}","or","{","int","}","or","{","float","}","corresponding","to","the","value","of","the","radio","button","to","be","selected",".","Examples-format",":","a","{","str","}","representing","the","radio","option","to","select",".","Demos",":","sentence_builder",",","titanic_survival",",","blocks_essay"]
code: def example_inputs(self) -> Any:
      return self.choices[0][1] if self.choices else None
  
file_path: gradio/gradio/components/radio.py
imports: from __future__ import annotations
  from typing import Any, Callable
  from gradio_client.documentation import document, set_documentation_group
  from gradio.components.base import FormComponent
  from gradio.events import Events
label_desc: Use image node_id 2 for calling the Radio obj's underlying member method code with example usage: obj.example_inputs() and returns: unknown