web / chat.html
Severian's picture
Update chat.html
3815301
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
font-family: Arial, sans-serif;
background-color: #333;
color: #fff;
margin: 0;
padding: 0;
text-align: center;
}
main {
padding: 80px 0;
text-align: center;
}
header {
background-color: #222;
padding: 20px 0;
}
h1 {
color: #fff;
}
.button {
display: inline-block;
background-color: #555;
color: #fff;
padding: 10px 20px;
text-decoration: none;
margin: 10px;
border-radius: 5px;
}
.button:hover {
background-color: #777;
}
footer {
background-color: #222;
padding: 10px 0;
position: relative;
bottom: 0;
width: 100%;
}
footer p {
font-size: 14px;
color: #888;
}
/* Style for the iframe container */
.iframe-container {
display: flex;
justify-content: center;
align-items: center;
height: 850px; /* You can adjust this to your preference */
}
iframe {
border: none; /* Optional: removes the default border */
width: 850px; /* Your specified width */
height: 850px; /* Your specified height */
}
</style>
</head>
<body>
<header>
<h1>A N I M A - Chat</h1>
</header>
<a class="button" href="/">Home</a>
<a class="button" href="#" onclick="openLink('image-creator.html')">Image Creator</a>
<a class="button" href="#" onclick="openLink('text-to-speech.html')">Text to Speech</a>
<a class="button" href="#" onclick="openLink('speech-to-text.html')">Speech to Text</a>
<!-- Correctly placed iframe -->
<div class="iframe-container">
<iframe src="https://severian-anima-7b-biomimicry-llm.hf.space"></iframe>
</div>
<footer>
<p>©️ ANIMA</p>
</footer>
<script>
function openLink(url) {
window.location.href = url;
}
</script>
</body>
</html>