Lesson 2 official topic

Hello , I am trying to deploy a model to hugging face spaces using gradio interference but it is showing that gradio.inputs and gradio.outputs --these functions are deprecated , I dont know how to work with gradio.components ,tried to google it but wasn’t helpful… please find the attached image, can someone please help?

if you want to refer my Kaggle notebook and help me find what was wrong,please refer my notebook