awitpao/string_instrument_classifier
0
1import gradio as gr2from transformers import pipeline3 4 5pipe = pipeline(task="image-classification", model="rexoscare/string_instrument_detector")6 7 8gr.Interface.from_pipeline(pipe,9 title="Stringed Instrument Classification",10 description="It will predict the Stringed Instrument with accuracy",11 examples = ["guitar.jpg", "uke.jpg",],12 allow_flagging="never"13 ).launch(inbrowser=True)14 