Spaces:
Build error
Build error
Update app.py
Browse files
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=
|
| 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 |
-
|
| 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(
|