apailang commited on
Commit
a513c2f
Β·
1 Parent(s): 85d5bae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -179,7 +179,7 @@ test12 = os.path.join(os.path.dirname(__file__), "data/test12.jpeg")
179
  base_image = gr.Interface(
180
  fn=predict,
181
  # inputs=[gr.Image(type="pil"),gr.Slider(minimum=0.01, maximum=1, value=0.38 ,label="Threshold",info="[not in used]to set prediction confidence threshold")],
182
- inputs=[gr.Image(type="pil"),gr.Textbox(value=threshold_d ,label="To change default 0.38 prediction confidence Threshold. Range 0.01 to 1",info="Select any image below to start, you may amend threshold after first inference")],
183
 
184
  outputs=[gr.Image(type="pil",label="Base Model Inference"),gr.Image(type="pil",label="Tuned Model Inference"),gr.Textbox(label="Both images inferenced threshold")],
185
  title="Luffy and Chopper Head detection. SSD mobile net V2 320x320",
 
179
  base_image = gr.Interface(
180
  fn=predict,
181
  # inputs=[gr.Image(type="pil"),gr.Slider(minimum=0.01, maximum=1, value=0.38 ,label="Threshold",info="[not in used]to set prediction confidence threshold")],
182
+ inputs=[gr.Image(type="pil"),gr.Slider(minimum=0.01, maximum=1,value=threshold_d ,label="To change default 0.38 prediction confidence Threshold. Range 0.01 to 1",info="Select any image below to start, you may amend threshold after first inference")],
183
 
184
  outputs=[gr.Image(type="pil",label="Base Model Inference"),gr.Image(type="pil",label="Tuned Model Inference"),gr.Textbox(label="Both images inferenced threshold")],
185
  title="Luffy and Chopper Head detection. SSD mobile net V2 320x320",