test_gradio / app.py
John Smith
Update app.py
cf1856c
raw
history blame
330 Bytes
import pip
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()