sd
Browse files- index.html +15 -18
index.html
CHANGED
@@ -1,30 +1,27 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
<head>
|
4 |
-
<h1>Hendoo.ai</h1>
|
5 |
<meta charset="utf-8" />
|
6 |
<meta name="viewport" content="width=device-width" />
|
7 |
-
<title>
|
8 |
<link rel="stylesheet" href="style.css" />
|
9 |
-
|
10 |
-
|
11 |
</head>
|
12 |
<body>
|
13 |
-
|
14 |
-
<div id="gradio-container"></div>
|
15 |
-
<script>
|
16 |
-
function loadGradioInterface() {
|
17 |
-
gradio.Interface.load("models/lllyasviel/sd-controlnet-mlsd").then(function(interface) {
|
18 |
-
interface.launch({
|
19 |
-
'container': '#gradio-container',
|
20 |
-
});
|
21 |
-
});
|
22 |
-
}
|
23 |
|
24 |
-
|
25 |
-
</script>
|
26 |
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
-
|
|
|
|
|
30 |
</html>
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html>
|
3 |
<head>
|
|
|
4 |
<meta charset="utf-8" />
|
5 |
<meta name="viewport" content="width=device-width" />
|
6 |
+
<title>Hendoo.ai</title>
|
7 |
<link rel="stylesheet" href="style.css" />
|
8 |
+
<script src="https://unpkg.com/gradio"></script>
|
|
|
9 |
</head>
|
10 |
<body>
|
11 |
+
<h1>Hendoo.ai</h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
+
<div id="gradio-container"></div>
|
|
|
14 |
|
15 |
+
<script>
|
16 |
+
function loadGradioInterface() {
|
17 |
+
gradio.Interface.load("models/lllyasviel/sd-controlnet-mlsd").then(function(interface) {
|
18 |
+
interface.launch({
|
19 |
+
container: "#gradio-container"
|
20 |
+
});
|
21 |
+
});
|
22 |
+
}
|
23 |
|
24 |
+
document.addEventListener("DOMContentLoaded", loadGradioInterface);
|
25 |
+
</script>
|
26 |
+
</body>
|
27 |
</html>
|