KarmaCST's picture
Rename app.py to app2.py
59f2a7a verified
raw
history blame contribute delete
723 Bytes
import gradio as gr
from transformers import pipeline
model_name = "KarmaCST/Bhutanese_Bird"
bird_classifier = pipeline("image-classification", model=model_name)
gr.load(bird_classifier,examples=["crow.jpg","myna.jpg","peacock.jpg"],article="<h1>Created By:</h1>Mr. Karma Wangchuk<br>Lecturer<br>Information Technology Department<br>College of Science and Technology<br>Rinchending Phuentsholing<br>Chhukha Bhutan<br>",).launch()
# gr.load("models/KarmaCST/Bhutanese_Bird",examples=["crow.jpg","myna.jpg","peacock.jpg"],article="<h1>Created By:</h1>Mr. Karma Wangchuk<br>Lecturer<br>Information Technology Department<br>College of Science and Technology<br>Rinchending Phuentsholing<br>Chhukha Bhutan<br>",).launch()