Jsonwu commited on
Commit
c3538d9
1 Parent(s): 344bbb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -40,8 +40,10 @@ def predict(img, conf_thresh=0.4):
40
 
41
  example_imgs = [
42
  ["res/example.jpg", 0.4],
43
- ["res/example_pair1.jpg", 0.4],
44
- ["res/example_pair2.jpg", 0.4]
 
 
45
  ]
46
 
47
  interface = gr.Interface(fn=predict, inputs=[gr.Image(type="pil", label="Screenshot"), gr.Slider(0.0, 1.0, step=0.1, value=0.4)], outputs=gr.Image(type="pil", label="Annotated Screenshot").style(height=600), examples=example_imgs)
 
40
 
41
  example_imgs = [
42
  ["res/example.jpg", 0.4],
43
+ ["res/screenlane-snapchat-profile.jpg", 0.4],
44
+ ["res/screenlane-snapchat-settings.jpg", 0.4],
45
+ ["res/example_pair1.jpg", 0.4],
46
+ ["res/example_pair2.jpg", 0.4],
47
  ]
48
 
49
  interface = gr.Interface(fn=predict, inputs=[gr.Image(type="pil", label="Screenshot"), gr.Slider(0.0, 1.0, step=0.1, value=0.4)], outputs=gr.Image(type="pil", label="Annotated Screenshot").style(height=600), examples=example_imgs)