KurtDu's picture
Update templates/index.html
92634e9 verified
raw
history blame
2.25 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Speech-to-Speech Model Comparison</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
background-color: #f4f6f9;
font-family: 'Arial', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
background-color: white;
border-radius: 15px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
padding: 40px 30px;
text-align: center;
max-width: 600px;
width: 100%;
}
h3 {
font-size: 1.5rem;
font-weight: bold;
color: #333;
margin-bottom: 20px;
}
p {
font-size: 1rem;
color: #666;
margin-bottom: 30px;
line-height: 1.5;
}
.btn-primary {
border-radius: 25px;
background-color: #007bff;
font-size: 1rem;
padding: 12px 24px;
color: white;
border: none;
transition: background-color 0.3s ease;
}
.btn-primary:hover {
background-color: #0056b3;
}
.btn-primary:focus {
outline: none;
box-shadow: 0 0 4px #007bff;
}
</style>
</head>
<body>
<div class="container">
<h3>Welcome to the Speech-to-Speech Model Comparison</h3>
<p>
This platform allows you to explore and evaluate Speech-to-Speech (S2S) models.
Click the button below to start the formal evaluation process.
</p>
<button class="btn btn-primary" onclick="redirectToEvaluation()">Start Evaluation</button>
</div>
<script>
function redirectToEvaluation() {
// Replace the URL with your external evaluation webpage
window.location.href = "http://71.132.14.167:6002/";
}
</script>
</body>
</html>