Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,6 @@ example_imgs = [
|
|
44 |
["res/example_pair2.jpg", 0.4]
|
45 |
]
|
46 |
|
47 |
-
|
48 |
-
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"), examples=example_imgs, css=css)
|
49 |
|
50 |
interface.launch()
|
|
|
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)
|
|
|
48 |
|
49 |
interface.launch()
|