-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (83 loc) · 3.41 KB
/
index.html
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Realistic AI Vision</title>
<link rel="shortcut icon" href="assets/logo.png" type="image/x-icon" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Rubik:wght@400;600&display=swap" rel="stylesheet" />
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./styles/style.css" />
</head>
<body>
<div id="splash">
<svg class="ip" viewBox="0 0 256 128" width="256px" height="128px" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="grad1" x1="0" y1="0" x2="1" y2="0">
<stop offset="0%" stop-color="#5ebd3e" />
<stop offset="33%" stop-color="#ffb900" />
<stop offset="67%" stop-color="#f78200" />
<stop offset="100%" stop-color="#e23838" />
</linearGradient>
<linearGradient id="grad2" x1="1" y1="0" x2="0" y2="0">
<stop offset="0%" stop-color="#e23838" />
<stop offset="33%" stop-color="#973999" />
<stop offset="67%" stop-color="#009cdf" />
<stop offset="100%" stop-color="#5ebd3e" />
</linearGradient>
</defs>
<g fill="none" stroke-linecap="round" stroke-width="16">
<g class="ip__track" stroke="#ddd">
<path d="M8,64s0-56,60-56,60,112,120,112,60-56,60-56" />
<path d="M248,64s0-56-60-56-60,112-120,112S8,64,8,64" />
</g>
<g stroke-dasharray="180 656">
<path
class="ip__worm1"
stroke="url(#grad1)"
stroke-dashoffset="0"
d="M8,64s0-56,60-56,60,112,120,112,60-56,60-56"
/>
<path
class="ip__worm2"
stroke="url(#grad2)"
stroke-dashoffset="358"
d="M248,64s0-56-60-56-60,112-120,112S8,64,8,64"
/>
</g>
</g>
</svg>
</div>
<div class="container">
<video src="assets/loop.mp4" autoplay muted loop ></video>
<div align="center">
</br>
<img src="assets/logo.png" width="150" />
</div>
<h1 style="font-weight: 700">Realistic AI Generator</h1>
<p class="desc">
Realistic AI Image Generator using Stable Diffusion
<br /> Click on any photo to downloaded.
</p>
<form class="gen-form" id="form">
<input type="text" autocomplete="off" id="user-prompt" placeholder="Enter Your Prompt Here . . ." />
<button type="button" id="generate">Generate</button>
</form>
<div class="result">
<div id="loading" style="display: none">
<div class="wrapper">
<i class="bx bx-loader-circle bx-spin" style="color: #ffffff; font-size: 3rem"></i>
<h2>Generating . . .</h2>
</div>
</div>
<div id="image-grid"></div>
</div>
<footer>
source on <a href="https://github.com/y0geshx/Realistic-AI-Vision" target="_blank">GitHub</a>
</footer>
</div>
<script src="script/main.js" defer></script>
</body>
</html>