import gradio as gr # Set gradio interface gr_interface = gr.Interface(classify, inputs='image', outputs='label', title='Bean Classification', description='Monitor your crops health in easier way') # Launch gradio gr_interface.launch()