test_gradio / app.py
John Smith
Update app.py
d365b80
raw
history blame
272 Bytes
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()