File size: 314 Bytes
0c8a9d0
a4fcc7e
d365b80
 
 
a4fcc7e
d365b80
14c4795
 
 
1
2
3
4
5
6
7
8
9
10
pip install huggingface_hub["tensorflow"]
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()