Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Ahsen Khaliq
commited on
Commit
•
ac2ee0e
1
Parent(s):
c7a9424
Update app.py
Browse files
app.py
CHANGED
@@ -56,6 +56,7 @@ title = "Kornia-Loftr"
|
|
56 |
description = "Gradio demo for Kornia-Loftr. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
57 |
article = "<p style='text-align: center'><a href='https://kornia.readthedocs.io/en/latest/'>Open Source Differentiable Computer Vision Library</a> | <a href='https://github.com/kornia/kornia'>Github Repo</a></p>"
|
58 |
|
|
|
59 |
gr.Interface(
|
60 |
inference,
|
61 |
[gr.inputs.Image(type="file", label="Input1"),gr.inputs.Image(type="file", label="Input2")],
|
@@ -63,5 +64,6 @@ gr.Interface(
|
|
63 |
title=title,
|
64 |
description=description,
|
65 |
article=article,
|
66 |
-
enable_queue=True
|
|
|
67 |
).launch(debug=True)
|
|
|
56 |
description = "Gradio demo for Kornia-Loftr. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
57 |
article = "<p style='text-align: center'><a href='https://kornia.readthedocs.io/en/latest/'>Open Source Differentiable Computer Vision Library</a> | <a href='https://github.com/kornia/kornia'>Github Repo</a></p>"
|
58 |
|
59 |
+
examples = [['kn_church-2.jpg','kn_church-8.jpg']]
|
60 |
gr.Interface(
|
61 |
inference,
|
62 |
[gr.inputs.Image(type="file", label="Input1"),gr.inputs.Image(type="file", label="Input2")],
|
|
|
64 |
title=title,
|
65 |
description=description,
|
66 |
article=article,
|
67 |
+
enable_queue=True,
|
68 |
+
examples=examples
|
69 |
).launch(debug=True)
|