AttributeError: module 'gradio.inputs' has no attribute 'Dataset'

demo = gr.Interface(
    fn = filter_records,
    inputs = gr.inputs.Dataset(
        components = ["Checkbox", "Checkbox"],   
    ),
    outputs = [gr.Slider(2, 20, value=4, label="Count", info="Choose betwen 2 and 20")],
)

This thow an error

AttributeError                            Traceback (most recent call last)
<ipython-input-14-d349716c3d5e> in <cell line: 8>()
      8 demo = gr.Interface(
      9     fn = filter_records,
---> 10     inputs = gr.inputs.Dataset(
     11         components = ["Checkbox", "Checkbox"],
     12 

AttributeError: module 'gradio.inputs' has no attribute 'Dataset'