Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,6 +33,6 @@ def infer(image):
|
|
| 33 |
title = "## SuperPoint"
|
| 34 |
description = "Try [SuperPoint] in this demo, foundation model for keypoint detection supported in 🤗 transformers. Simply upload an image or try the example."
|
| 35 |
iface = gr.Interface(fn = infer, inputs = gr.Image(type="pil"),
|
| 36 |
-
outputs = gr.Image(), examples=["./bee.jpg"])
|
| 37 |
|
| 38 |
iface.launch()
|
|
|
|
| 33 |
title = "## SuperPoint"
|
| 34 |
description = "Try [SuperPoint] in this demo, foundation model for keypoint detection supported in 🤗 transformers. Simply upload an image or try the example."
|
| 35 |
iface = gr.Interface(fn = infer, inputs = gr.Image(type="pil"),
|
| 36 |
+
outputs = gr.Image(), title=title, description=description, examples=["./bee.jpg"])
|
| 37 |
|
| 38 |
iface.launch()
|