Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Ahsen Khaliq
commited on
Commit
•
e35b8e7
1
Parent(s):
33aefc9
Update app.py
Browse files
app.py
CHANGED
@@ -58,6 +58,7 @@ def inference(file1,file2):
|
|
58 |
title = "Kornia-Loftr"
|
59 |
description = "Gradio demo for Kornia-Loftr: Detector-Free Local Feature Matching with Transformers. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
60 |
article = "<p style='text-align: center'><a href='https://kornia.readthedocs.io/en/latest/' target='_blank'>Open Source Differentiable Computer Vision Library</a> | <a href='https://github.com/kornia/kornia' target='_blank'>Kornia Github Repo</a> | <a href='https://github.com/zju3dv/LoFTR' target='_blank'>LoFTR Github</a> | <a href='https://arxiv.org/abs/2104.00680' target='_blank'>LoFTR: Detector-Free Local Feature Matching with Transformers</a></p>"
|
|
|
61 |
|
62 |
examples = [['kn_church-2.jpg','kn_church-8.jpg']]
|
63 |
gr.Interface(
|
@@ -68,5 +69,6 @@ gr.Interface(
|
|
68 |
description=description,
|
69 |
article=article,
|
70 |
enable_queue=True,
|
71 |
-
examples=examples
|
|
|
72 |
).launch(debug=True)
|
|
|
58 |
title = "Kornia-Loftr"
|
59 |
description = "Gradio demo for Kornia-Loftr: Detector-Free Local Feature Matching with Transformers. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
60 |
article = "<p style='text-align: center'><a href='https://kornia.readthedocs.io/en/latest/' target='_blank'>Open Source Differentiable Computer Vision Library</a> | <a href='https://github.com/kornia/kornia' target='_blank'>Kornia Github Repo</a> | <a href='https://github.com/zju3dv/LoFTR' target='_blank'>LoFTR Github</a> | <a href='https://arxiv.org/abs/2104.00680' target='_blank'>LoFTR: Detector-Free Local Feature Matching with Transformers</a></p>"
|
61 |
+
css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
|
62 |
|
63 |
examples = [['kn_church-2.jpg','kn_church-8.jpg']]
|
64 |
gr.Interface(
|
|
|
69 |
description=description,
|
70 |
article=article,
|
71 |
enable_queue=True,
|
72 |
+
examples=examples,
|
73 |
+
css=css
|
74 |
).launch(debug=True)
|