Spaces:
Running
Running
Update app.py
Browse files
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/
|
44 |
-
["res/
|
|
|
|
|
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)
|