Update app.py
Browse files
app.py
CHANGED
|
@@ -59,6 +59,13 @@ inputs = [
|
|
| 59 |
)
|
| 60 |
]
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
gr.Interface(
|
| 63 |
fn=detect_panels,
|
| 64 |
inputs=inputs,
|
|
@@ -66,6 +73,6 @@ gr.Interface(
|
|
| 66 |
title=title,
|
| 67 |
description=description,
|
| 68 |
article=article,
|
| 69 |
-
examples=
|
| 70 |
allow_flagging="auto"
|
| 71 |
).launch()
|
|
|
|
| 59 |
)
|
| 60 |
]
|
| 61 |
|
| 62 |
+
examples = [
|
| 63 |
+
["aura_farmer_1.jpg", 0.25, 0.7],
|
| 64 |
+
["aura_farmer_2.jpg", 0.25, 0.7],
|
| 65 |
+
["aura_farmer_3.jpg", 0.25, 0.7],
|
| 66 |
+
["aura_farmer_4.jpg", 0.25, 0.7],
|
| 67 |
+
]
|
| 68 |
+
|
| 69 |
gr.Interface(
|
| 70 |
fn=detect_panels,
|
| 71 |
inputs=inputs,
|
|
|
|
| 73 |
title=title,
|
| 74 |
description=description,
|
| 75 |
article=article,
|
| 76 |
+
examples=examples,
|
| 77 |
allow_flagging="auto"
|
| 78 |
).launch()
|