File size: 305 Bytes
94b8906
2970095
94b8906
 
1
2
3
4
import gradio as gr
def greet(name): return f"hello {name}"

gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()