Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Add an interactive demo to the kornia.enhance docs (#1793)

Nima Boscarino46f6018a1c4b
diff --git a/docs/source/enhance.rst b/docs/source/enhance.rst
index b1644f736..17a94fee6 100644
--- a/docs/source/enhance.rst
+++ b/docs/source/enhance.rst
@@ -5,6 +5,8 @@ kornia.enhance
The functions in this section perform normalisations and intensity transformations.
+* `Interactive Demo`_
+
Adjustment
----------
@@ -62,3 +64,11 @@ Modules
.. autoclass:: AddWeighted
.. autoclass:: Invert
+
+
+Interactive Demo
+----------------
+.. raw:: html
+ :file: gradio/enhance_gradio.html
+
+Visit the demo on `Hugging Face Spaces <https://huggingface.co/spaces/NimaBoscarino/kornia-image-enhancement>`_.
diff --git a/docs/source/gradio/enhance_gradio.html b/docs/source/gradio/enhance_gradio.html
new file mode 100644
index 000000000..d97c72ff3
--- /dev/null
+++ b/docs/source/gradio/enhance_gradio.html
@@ -0,0 +1 @@
+<iframe src="https://hf.space/embed/NimaBoscarino/kornia-image-enhancement/+" frameBorder="0" height="1060px" width="100%" title="Gradio app" allow="accelerometer; ambient-light-sensor; autoplay; battery; camera; document-domain; encrypted-media; fullscreen; geolocation; gyroscope; layout-animations; legacy-image-formats; magnetometer; microphone; midi; oversized-images; payment; picture-in-picture; publickey-credentials-get; sync-xhr; usb; vr ; wake-lock; xr-spatial-tracking" sandbox="allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-downloads"></iframe>