Spaces:
Runtime error
Runtime error
NimaBoscarino
commited on
Commit
•
cdbbe83
1
Parent(s):
020a62c
Add Kornia links
Browse files
app.py
CHANGED
@@ -29,6 +29,10 @@ examples = [
|
|
29 |
["examples/kitty.jpg", 0, 1, 1, 1, 0],
|
30 |
]
|
31 |
|
|
|
|
|
|
|
|
|
32 |
iface = gr.Interface(
|
33 |
enhance,
|
34 |
[
|
@@ -41,6 +45,9 @@ iface = gr.Interface(
|
|
41 |
],
|
42 |
"image",
|
43 |
examples=examples,
|
|
|
|
|
|
|
44 |
live=True
|
45 |
)
|
46 |
|
|
|
29 |
["examples/kitty.jpg", 0, 1, 1, 1, 0],
|
30 |
]
|
31 |
|
32 |
+
title = "Kornia Image Enhancements"
|
33 |
+
description = "Gradio demo for Kornia's Image Enhancements. To use it, simply upload your image, or click one of the examples to load them, and use the sliders to enhance! Read more at the links below."
|
34 |
+
article = "<p style='text-align: center'><a href='https://kornia.readthedocs.io/en/latest/' target='_blank'>Kornia Docs</a> | <a href='https://github.com/kornia/kornia' target='_blank'>Kornia Github Repo</a> | <a href='https://kornia-tutorials.readthedocs.io/en/latest/image_enhancement.html' target='_blank'>Kornia Enhancements Tutorial</a></p>"
|
35 |
+
|
36 |
iface = gr.Interface(
|
37 |
enhance,
|
38 |
[
|
|
|
45 |
],
|
46 |
"image",
|
47 |
examples=examples,
|
48 |
+
title=title,
|
49 |
+
description=description,
|
50 |
+
article=article,
|
51 |
live=True
|
52 |
)
|
53 |
|