File size: 272 Bytes
a4fcc7e
d365b80
 
 
a4fcc7e
d365b80
14c4795
 
 
1
2
3
4
5
6
7
8
9
import gradio as gr
def image_mod(image):
    print("Hello world")
    return 

gr.Interface(fn=image_mod,
             inputs=gr.Image(shape=(224, 224)),
             outputs=gr.Label(num_top_classes=3),
             examples=["n146OugAwBUjFACpuWrZUE6Q0-M.jpg"]).launch()