index.html 918 Bytes
Newer Older
pythongosssss's avatar
pythongosssss committed
1
2
<!DOCTYPE html>
<html lang="en">
pythongosssss's avatar
pythongosssss committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
	<head>
		<link rel="stylesheet" type="text/css" href="lib/litegraph.css" />
		<link rel="stylesheet" type="text/css" href="style.css" />
		<script type="text/javascript" src="lib/litegraph.core.js"></script>

		<script type="module">
			import { app } from "/scripts/app.js";
			await app.setup();
			window.app = app;
			window.graph = app.graph;
		</script>
	</head>
	<body>
		<script>
			return;

			let runningNodeId = null;
			let progress = null;
			let clientId = null;

			var input = document.createElement("input");
			input.setAttribute("type", "file");
			input.setAttribute("accept", ".json,image/png");
			input.style.display = "none";
			document.body.appendChild(input);

			input.addEventListener("change", function () {
				var file = input.files[0];
				prompt_file_load(file);
			});

			function loadGraph() {
				input.click();
			}
		</script>
	</body>
pythongosssss's avatar
pythongosssss committed
39
</html>