mosesb commited on
Commit
5548d0f
·
verified ·
1 Parent(s): eb46d33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
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=[ "aura_farmer_1.jpg", "aura_farmer_2.jpg", "aura_farmer_3.jpg", "aura_farmer_4.jpg" ],
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()