OttoYu's picture
Update app.py
04091cd
raw
history blame
606 Bytes
import gradio as gr
import os
model=gr.Interface.load("models/OttoYu/TreeClassification",
title="🌳 Tree Classification by Simple machine learning",
description="This web application can identify trees with only one image upload. Since this application is on trial, if you find any errors, please contact exottoyu@gmail.com.",
examples=[ os.path.join(os.path.dirname(__file__), "img1.jpg"), os.path.join(os.path.dirname(__file__),"img2.jpg"),os.path.join(os.path.dirname(__file__), "img3.png") ]) )
"__main__": model.launch()