apailang commited on
Commit
c9288cc
β€’
1 Parent(s): b59086b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -177,10 +177,9 @@ base_image = gr.Interface(
177
  outputs=[gr.Image(type="pil",label="Base Model Inference"),gr.Image(type="pil",label="Tuned Model Inference"),gr.Textbox(label="Tuned Model Inference")],
178
  title="Luffy and Chopper Head detection. SSD mobile net V2 320x320",
179
  description="Upload a Image for prediction or click on below examples. Prediction confident >38% will be shown in dectected images. Threshold slider is WIP",
180
- examples=gr.Examples(
181
  [[test1,0.38],[test2,0.38],[test3,0.38],[test4,0.38],[test5,0.38],[test6,0.38],[test7,0.38],[test8,0.38],[test9,0.38],[test10,0.38],[test11,0.38],[test12,0.38],],
182
- inputs=[gr.Image(type="pil"),gr.Textbox()],
183
- cache_examples=True,examples_per_page=12,label="select image with 0.38 threshold to inference, you may amend threshold after inference")
184
  )
185
 
186
  # tuned_image = gr.Interface(
 
177
  outputs=[gr.Image(type="pil",label="Base Model Inference"),gr.Image(type="pil",label="Tuned Model Inference"),gr.Textbox(label="Tuned Model Inference")],
178
  title="Luffy and Chopper Head detection. SSD mobile net V2 320x320",
179
  description="Upload a Image for prediction or click on below examples. Prediction confident >38% will be shown in dectected images. Threshold slider is WIP",
180
+ examples=
181
  [[test1,0.38],[test2,0.38],[test3,0.38],[test4,0.38],[test5,0.38],[test6,0.38],[test7,0.38],[test8,0.38],[test9,0.38],[test10,0.38],[test11,0.38],[test12,0.38],],
182
+ cache_examples=True,examples_per_page=12#,label="select image with 0.38 threshold to inference, you may amend threshold after inference"
 
183
  )
184
 
185
  # tuned_image = gr.Interface(