Fill Text Box and Click Button to trigger and call Machine Learning Model

Hi All,

I have a Text box where I will enter product names and there is a submit button also. The product names and respective output (categ_product) are stored in a dataframe (dataframe have 2 two columns: Product names and categ_product) from where I am loading it my app code. I want on clicking the submit button, it should trigger and generate output (categ_product) from the dataframe

Thank you!