File size: 320 Bytes
2137dc0
2b97d8c
a4fcc7e
d365b80
 
 
a4fcc7e
d365b80
14c4795
 
 
1
2
3
4
5
6
7
8
9
10
11
!pip install tensorflow
import tensorflow as tf
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()