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