Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,8 +30,8 @@ def infer(image):
|
|
| 30 |
plt.savefig(path)
|
| 31 |
return path
|
| 32 |
|
| 33 |
-
title = "
|
| 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 |
|
|
|
|
| 30 |
plt.savefig(path)
|
| 31 |
return path
|
| 32 |
|
| 33 |
+
title = "SuperPoint"
|
| 34 |
+
description = "Try [SuperPoint](https://huggingface.co/docs/transformers/en/model_doc/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 |
|