File size: 330 Bytes
f83ceb5
 
 
 
 
0510aca
 
 
 
 
f83ceb5
 
1
2
3
4
5
6
7
8
9
10
11
12
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()