Commit ·
d2a8d61
1
Parent(s): 2402ff4
Create image-creator.html
Browse files- image-creator.html +79 -0
image-creator.html
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<style>
|
| 7 |
+
body {
|
| 8 |
+
font-family: Arial, sans-serif;
|
| 9 |
+
background-color: #333;
|
| 10 |
+
color: #fff;
|
| 11 |
+
margin: 0;
|
| 12 |
+
padding: 0;
|
| 13 |
+
text-align: center;
|
| 14 |
+
}
|
| 15 |
+
main {
|
| 16 |
+
padding: 80px 0;
|
| 17 |
+
text-align: center;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
header {
|
| 21 |
+
background-color: #222;
|
| 22 |
+
padding: 20px 0;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
h1 {
|
| 26 |
+
color: #fff;
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
.button {
|
| 30 |
+
display: inline-block;
|
| 31 |
+
background-color: #555;
|
| 32 |
+
color: #fff;
|
| 33 |
+
padding: 10px 20px;
|
| 34 |
+
text-decoration: none;
|
| 35 |
+
margin: 10px;
|
| 36 |
+
border-radius: 5px;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.button:hover {
|
| 40 |
+
background-color: #777;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
footer {
|
| 44 |
+
background-color: #222;
|
| 45 |
+
padding: 10px 0;
|
| 46 |
+
position: relative;
|
| 47 |
+
bottom: 0;
|
| 48 |
+
width: 100%;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
footer p {
|
| 52 |
+
font-size: 14px;
|
| 53 |
+
color: #888;
|
| 54 |
+
}
|
| 55 |
+
</style>
|
| 56 |
+
</head>
|
| 57 |
+
<body>
|
| 58 |
+
<header>
|
| 59 |
+
<h1>Tasks AI - Image Creator</h1>
|
| 60 |
+
</header>
|
| 61 |
+
<a class="button" href="/">Home</a>
|
| 62 |
+
<a class="button" href="#" onclick="openLink('/chat.html')">Chat</a>
|
| 63 |
+
<a class="button" href="#" onclick="openLink('/text-to-speech.html')">Text to Speech</a>
|
| 64 |
+
<a class="button" href="#" onclick="openLink('/speech-to-text.html')">Speech to Text</a>
|
| 65 |
+
<script
|
| 66 |
+
type="module"
|
| 67 |
+
src="https://gradio.s3-us-west-2.amazonaws.com/3.40.1/gradio.js"
|
| 68 |
+
></script>
|
| 69 |
+
<gradio-app src="https://tasks-ai-image-creator.hf.space"></gradio-app>
|
| 70 |
+
<footer>
|
| 71 |
+
<p>©️ OpenSkyML</p>
|
| 72 |
+
</footer>
|
| 73 |
+
<script>
|
| 74 |
+
function openLink(url) {
|
| 75 |
+
window.location.href = url;
|
| 76 |
+
}
|
| 77 |
+
</script>
|
| 78 |
+
</body>
|
| 79 |
+
</html>
|