Handylabel / Web_app /templates /import_data1.html
Imsachinsingh00's picture
Reinitializing project for new Hugging Face Space
d172d27
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Import Gesture Data</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 20px;
background-color: #fafafa;
color: #333;
}
.container {
max-width: 600px;
margin: 0 auto;
border: 1px solid #ddd;
padding: 20px;
border-radius: 8px;
background-color: #ffffff;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
text-align: center;
}
h1 {
color: #333;
}
form {
margin-top: 20px;
}
input[type="file"] {
padding: 8px;
margin-bottom: 20px;
font-size: 16px;
border: 1px solid #ddd;
border-radius: 5px;
width: calc(100% - 16px);
box-sizing: border-box;
}
button {
padding: 10px 20px;
font-size: 16px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #45a049;
}
a {
display: inline-block;
margin-top: 20px;
padding: 10px 15px;
background-color: #4CAF50;
color: white;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
}
a:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="container">
<h1>Import Gesture Data from CSV</h1>
<form action="{{ url_for('import_data') }}" method="POST" enctype="multipart/form-data">
<input type="file" name="file" accept=".csv" required>
<button type="submit">Upload and Visualize</button>
</form>
<a href="{{ url_for('index') }}">Back to Home</a>
</div>
</body>
</html>