Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Embed using web component instead of iframe (#1835)

Nima Boscarino844f331659e2
diff --git a/docs/source/gradio/enhance_gradio.html b/docs/source/gradio/enhance_gradio.html
index 5acb1da34..0c4cc45c1 100644
--- a/docs/source/gradio/enhance_gradio.html
+++ b/docs/source/gradio/enhance_gradio.html
@@ -1 +1,4 @@
-<iframe src="https://hf.space/embed/kornia/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>
+<script type="module"
+src="https://gradio.s3-us-west-2.amazonaws.com/3.1.7/gradio.js">
+</script>
+<gradio-app space="kornia/kornia-image-enhancement" src="https://hf.space/embed/kornia/kornia-image-enhancement/+"></gradio-app>