Junfeng's picture
Update app.py
7ef0c91
raw
history blame
363 Bytes
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
'''
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()
'''
gr.Interface.load(
"huggingface/google/vit-base-patch16-224",
title="Classify Image with Vision Transformer EASY",
examples=["alligator.jpg", "laptop.jpg"]).launch()