Spaces:
Runtime error
Runtime error
File size: 544 Bytes
869e6d5 cd050ed 869e6d5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import gradio as gr
from transformers import pipeline
pipe = pipeline(task="image-classification", model="rexoscare/string_instrument_detector")
gr.Interface.from_pipeline(pipe,
title="Stringed Instrument Classification",
description="It will predict the Stringed Instrument with accuracy",
examples = ["guitar.jpg", "uke.jpg",],
allow_flagging="never"
).launch(inbrowser=True)
|