import gradio as gr def greet(name): return "Hello " + name + "!!" iface = gr.TabbedInterface([tab1, tab2], title='Cauliflower and Beetroot Detection with ssd_resnet50_v1_fpn_640x640_coco17_tpu-8') # Launch the interface iface.launch(share=True) iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch()