Spaces:
Running
Running
Added an iFrame Resizer script to each html page.
Browse filesThis was suggested in the huggingface documentation.
Refer to https://huggingface.co/docs/hub/spaces-sdks-python
- templates/about.html +2 -0
- templates/evaluate-expression.html +2 -0
- templates/index.html +2 -0
- templates/scroll_debug.html +2 -1
- templates/show-image.html +2 -0
- templates/show-shapes.html +2 -0
- templates/user-name.html +2 -0
templates/about.html
CHANGED
@@ -22,6 +22,8 @@
|
|
22 |
<li>
|
23 |
<a href="..">Home</a>
|
24 |
</li>
|
|
|
|
|
25 |
</body>
|
26 |
|
27 |
</html>
|
|
|
22 |
<li>
|
23 |
<a href="..">Home</a>
|
24 |
</li>
|
25 |
+
<script
|
26 |
+
src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js"></script>
|
27 |
</body>
|
28 |
|
29 |
</html>
|
templates/evaluate-expression.html
CHANGED
@@ -19,6 +19,8 @@
|
|
19 |
<li>
|
20 |
<a href="../..">Home</a>
|
21 |
</li>
|
|
|
|
|
22 |
</body>
|
23 |
|
24 |
</html>
|
|
|
19 |
<li>
|
20 |
<a href="../..">Home</a>
|
21 |
</li>
|
22 |
+
<script
|
23 |
+
src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js"></script>
|
24 |
</body>
|
25 |
|
26 |
</html>
|
templates/index.html
CHANGED
@@ -78,6 +78,8 @@
|
|
78 |
</li>
|
79 |
</ul>
|
80 |
|
|
|
|
|
81 |
<script type="text/javascript" src="../static/js/test_page.js"></script>
|
82 |
</body>
|
83 |
|
|
|
78 |
</li>
|
79 |
</ul>
|
80 |
|
81 |
+
<script
|
82 |
+
src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js"></script>
|
83 |
<script type="text/javascript" src="../static/js/test_page.js"></script>
|
84 |
</body>
|
85 |
|
templates/scroll_debug.html
CHANGED
@@ -39,7 +39,8 @@
|
|
39 |
<li>
|
40 |
<a href="../..">Home</a>
|
41 |
</li>
|
42 |
-
|
|
|
43 |
</body>
|
44 |
|
45 |
</html>
|
|
|
39 |
<li>
|
40 |
<a href="../..">Home</a>
|
41 |
</li>
|
42 |
+
<script
|
43 |
+
src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js"></script>
|
44 |
</body>
|
45 |
|
46 |
</html>
|
templates/show-image.html
CHANGED
@@ -16,6 +16,8 @@
|
|
16 |
<li>
|
17 |
<a href="../..">Home</a>
|
18 |
</li>
|
|
|
|
|
19 |
</body>
|
20 |
|
21 |
</html>
|
|
|
16 |
<li>
|
17 |
<a href="../..">Home</a>
|
18 |
</li>
|
19 |
+
<script
|
20 |
+
src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js"></script>
|
21 |
</body>
|
22 |
|
23 |
</html>
|
templates/show-shapes.html
CHANGED
@@ -37,6 +37,8 @@
|
|
37 |
<a href="../..">Home</a>
|
38 |
</li>
|
39 |
|
|
|
|
|
40 |
<script type="text/javascript" src="../static/js/show-shapes.js"></script>
|
41 |
</body>
|
42 |
|
|
|
37 |
<a href="../..">Home</a>
|
38 |
</li>
|
39 |
|
40 |
+
<script
|
41 |
+
src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js"></script>
|
42 |
<script type="text/javascript" src="../static/js/show-shapes.js"></script>
|
43 |
</body>
|
44 |
|
templates/user-name.html
CHANGED
@@ -21,6 +21,8 @@
|
|
21 |
<li>
|
22 |
<a href="../..">Home</a>
|
23 |
</li>
|
|
|
|
|
24 |
</body>
|
25 |
|
26 |
</html>
|
|
|
21 |
<li>
|
22 |
<a href="../..">Home</a>
|
23 |
</li>
|
24 |
+
<script
|
25 |
+
src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.contentWindow.min.js"></script>
|
26 |
</body>
|
27 |
|
28 |
</html>
|