apailang commited on
Commit
abfb7d9
Β·
1 Parent(s): 511b6d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -172,7 +172,7 @@ test12 = os.path.join(os.path.dirname(__file__), "data/test12.jpeg")
172
 
173
  base_image = gr.Interface(
174
  fn=predict,
175
- inputs=[gr.Image(type="pil"),gr.Slider(minimum=0.01, maximum=0.99, value=0.5, step=0.05 label="Threshold",info="to set prediction confidence threshold")],
176
  outputs=gr.Image(type="pil"),
177
  title="Luffy and Chopper face detection (Base mobile net model)",
178
  description="Upload a Image for prediction or click on below examples",
 
172
 
173
  base_image = gr.Interface(
174
  fn=predict,
175
+ inputs=[gr.Image(type="pil"),gr.Slider(minimum=0.01, maximum=0.99, value=0.5, step=0.05 ,label="Threshold",info="to set prediction confidence threshold")],
176
  outputs=gr.Image(type="pil"),
177
  title="Luffy and Chopper face detection (Base mobile net model)",
178
  description="Upload a Image for prediction or click on below examples",