| 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() | |