kristyc commited on
Commit
4e686ef
·
1 Parent(s): 05934d1

Add min detection conf to the examples

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ with demo:
111
  with gr.Tabs():
112
  with gr.TabItem(label="Upload an image"):
113
  uploaded_image = gr.Image(type="numpy")
114
- example_image = gr.Examples(examples=[['examples/example-01.jpg', 1], ['examples/example-02.jpg', 2], ['examples/example-03.jpg', 1]], inputs=[uploaded_image, max_num_hands])
115
  submit_uploaded_image = gr.Button(value="Process Image")
116
  with gr.TabItem(label="Take a picture"):
117
  camera_picture = gr.Image(source="webcam", type="numpy")
 
111
  with gr.Tabs():
112
  with gr.TabItem(label="Upload an image"):
113
  uploaded_image = gr.Image(type="numpy")
114
+ example_image = gr.Examples(examples=[['examples/example-01.jpg', 1, 0.4], ['examples/example-02.jpg', 2, 0.5], ['examples/example-03.jpg', 1, 0.5]], inputs=[uploaded_image, max_num_hands, min_detection_conf])
115
  submit_uploaded_image = gr.Button(value="Process Image")
116
  with gr.TabItem(label="Take a picture"):
117
  camera_picture = gr.Image(source="webcam", type="numpy")