import gradio as gr import classifier import home import contact # Define a Gradio interface iface = gr.Interface( fn=classifier.run, # Assuming classifier.run takes input and returns output live=True, capture_session=True, show_input=False, title="Vehicle Number Plate Recognition", description="This page created by Himanshu Aggarwal", ) # Add a button to navigate to Home home_button = gr.Button("Home", click_fn=home.run) iface.add_component(home_button, gr.Column(1)) # Add a button to navigate to Contact contact_button = gr.Button("Contact", click_fn=contact.run) iface.add_component(contact_button, gr.Column(1)) # Launch the Gradio interface iface.launch()