Spaces:
Sleeping
Sleeping
import gradio as gr | |
import sentencepiece | |
from transformers import pipeline | |
pipe = pipeline(task='image-classification', model='google/vit-base-patch16-224') | |
title = "Une application de classifiaction d image" | |
description = "Une application intelligente de reconnaissance d'image." | |
gr.Interface.from_pipeline(pipe, title=title, description=description).launch(inbrowser=True) | |