44brabal's picture
Update app.py
7638b09
raw
history blame
216 Bytes
import gradio as gr
import torch
from transformers import pipeline
pipe = pipeline("object-detection", model="valentinafeve/yolos-fashionpedia")
gr.Interface.load("models/valentinafeve/yolos-fashionpedia").launch()