Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
gr.Interface.load("models/OttoYu/TreeClassification").launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
gr.Interface.load("models/OttoYu/TreeClassification").launch()
|
| 4 |
+
|
| 5 |
+
examples = [["img1.jpg"], ["img2.jpg”]]
|
| 6 |
+
|
| 7 |
+
gr.Interface(segment, i, o, examples=examples, allow_flagging=False, analytics_enabled=False, thumbnail=thumbnail, cache_examples=False).launch()
|