pragadeeshv23's picture
Upload folder using huggingface_hub
5b86813 verified
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f5f5;
color: #333;
line-height: 1.6;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 30px;
padding: 20px 0;
border-bottom: 1px solid #ddd;
}
header h1 {
color: #2c3e50;
margin-bottom: 10px;
}
.upload-section {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 30px;
margin-bottom: 30px;
}
.messages {
margin-bottom: 20px;
}
.alert {
background-color: #f8d7da;
color: #721c24;
padding: 10px;
border-radius: 4px;
margin-bottom: 10px;
}
.file-input {
margin-bottom: 20px;
}
.file-input label {
display: block;
margin-bottom: 8px;
font-weight: bold;
}
.file-input input[type="file"] {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
.submit {
text-align: center;
}
button {
background-color: #3498db;
color: white;
border: none;
padding: 12px 24px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
button:hover {
background-color: #2980b9;
}
.instructions {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 30px;
margin-bottom: 30px;
}
.instructions h2 {
color: #2c3e50;
margin-bottom: 15px;
}
.instructions ol {
padding-left: 20px;
}
.instructions li {
margin-bottom: 10px;
}
/* Results Page Styles */
.results-section {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
padding: 30px;
margin-bottom: 30px;
}
.image-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 30px;
}
.image-box {
flex: 1;
min-width: 300px;
}
.image-box h3 {
margin-bottom: 15px;
color: #2c3e50;
}
.image-box img {
width: 100%;
border-radius: 4px;
border: 1px solid #ddd;
}
.detections-info {
margin-top: 30px;
}
.detections-info h3 {
margin-bottom: 15px;
color: #2c3e50;
}
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
table th, table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
table th {
background-color: #f2f2f2;
font-weight: bold;
}
table tr:hover {
background-color: #f9f9f9;
}
.actions {
text-align: center;
margin: 20px 0;
}
.btn {
display: inline-block;
background-color: #3498db;
color: white;
text-decoration: none;
padding: 12px 24px;
border-radius: 4px;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #2980b9;
}
footer {
text-align: center;
margin-top: 50px;
padding: 20px 0;
color: #777;
border-top: 1px solid #ddd;
}