Spaces:
Runtime error
Runtime error
Update app.py
Browse files123456import gradio as grmodel=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.")model.launch()12345678import gradio as grimport osmodel=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()
app.py+4-2