Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
gr.Interface.load("models/OttoYu/TreeClassification",
|
4 |
title="🌳 Tree Classification by Simple machine learning",
|
5 |
-
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 [email protected]."
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
model = gr.Interface.load("models/OttoYu/TreeClassification",
|
4 |
title="🌳 Tree Classification by Simple machine learning",
|
5 |
+
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 [email protected].",
|
6 |
+
gr.File(file_count="multiple"),"file")
|
7 |
+
model.launch()
|