File size: 260 Bytes
373e186
93a4013
 
 
 
373e186
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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()