VIT_Demo / app.py
benjaminStreltzin's picture
Update app.py
93a4013 verified
raw
history blame
260 Bytes
import gradio as gr
from transformers import pipeline
pipe = pipeline("image-classification", "DataScienceProject/Vit")
print(pipe)
def greet(name):
return "Hello " + name + "!!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()