File size: 994 Bytes
07fce36
 
 
 
 
 
 
 
 
73a7fff
 
 
 
 
 
 
 
 
 
 
 
 
07fce36
 
 
 
 
 
 
 
 
 
1
2
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
<!doctype html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width" />
		<title>My static Space</title>
		<link rel="stylesheet" href="style.css" />
	</head>
	<body>
        <script type="module">
            import { Client } from "https://esm.run/@gradio/client";
            
            const client = await Client.connect("radames/flash-sd3-taesd3");
            const result = await client.predict("/infer", { 		
            		prompt: "Hello!!", 		
            		seed: 0, 		
            		randomize_seed: true, 
            });
            
            console.log(result.data);
          
        </script>
		<div class="card">
			<h1>Welcome to your static Space!</h1>
			<p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
			<p>
				Also don't forget to check the
				<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
			</p>
		</div>
	</body>
</html>