Harri-Mi
commited on
Commit
·
809c7b8
1
Parent(s):
6e49d3c
Update space
Browse files- index.html +12 -18
index.html
CHANGED
|
@@ -1,19 +1,13 @@
|
|
| 1 |
-
<!
|
| 2 |
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
Also don't forget to check the
|
| 15 |
-
<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
|
| 16 |
-
</p>
|
| 17 |
-
</div>
|
| 18 |
-
</body>
|
| 19 |
-
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script>
|
| 5 |
+
<style>
|
| 6 |
+
body { margin: 0; }
|
| 7 |
+
model-viewer { width: 100vw; height: 100vh; }
|
| 8 |
+
</style>
|
| 9 |
+
</head>
|
| 10 |
+
<body>
|
| 11 |
+
<model-viewer src="sample.glb" camera-controls></model-viewer>
|
| 12 |
+
</body>
|
| 13 |
+
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|