Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +6 -7
templates/index.html
CHANGED
|
@@ -428,8 +428,8 @@
|
|
| 428 |
|
| 429 |
<header>
|
| 430 |
<div class="logo-badge">NEURAL SCENE CLASSIFIER</div>
|
| 431 |
-
<h1>
|
| 432 |
-
<p class="subtitle">
|
| 433 |
</header>
|
| 434 |
|
| 435 |
|
|
@@ -515,7 +515,7 @@
|
|
| 515 |
accept=".jpg,.jpeg,.png,.webp,.bmp" required />
|
| 516 |
<div class="upload-icon">📸</div>
|
| 517 |
<div class="upload-text">Drop your image here</div>
|
| 518 |
-
<div class="upload-hint">
|
| 519 |
<div id="file-name"></div>
|
| 520 |
</div>
|
| 521 |
|
|
@@ -526,7 +526,7 @@
|
|
| 526 |
|
| 527 |
<!-- Submit -->
|
| 528 |
<button type="submit" class="btn-predict" id="submit-btn">
|
| 529 |
-
|
| 530 |
</button>
|
| 531 |
|
| 532 |
</form>
|
|
@@ -534,8 +534,7 @@
|
|
| 534 |
{% endif %}
|
| 535 |
|
| 536 |
<footer>
|
| 537 |
-
|
| 538 |
-
Custom CNN — no pretrained weights
|
| 539 |
</footer>
|
| 540 |
|
| 541 |
<!-- JS: drag-drop, preview, loading state -->
|
|
@@ -591,7 +590,7 @@
|
|
| 591 |
|
| 592 |
// Loading state on submit
|
| 593 |
form.addEventListener('submit', () => {
|
| 594 |
-
submitBtn.textContent = '
|
| 595 |
submitBtn.classList.add('loading');
|
| 596 |
});
|
| 597 |
}
|
|
|
|
| 428 |
|
| 429 |
<header>
|
| 430 |
<div class="logo-badge">NEURAL SCENE CLASSIFIER</div>
|
| 431 |
+
<h1>Image<br/>Image Classification</h1>
|
| 432 |
+
<p class="subtitle">· PyTorch & TensorFlow ·</p>
|
| 433 |
</header>
|
| 434 |
|
| 435 |
|
|
|
|
| 515 |
accept=".jpg,.jpeg,.png,.webp,.bmp" required />
|
| 516 |
<div class="upload-icon">📸</div>
|
| 517 |
<div class="upload-text">Drop your image here</div>
|
| 518 |
+
<div class="upload-hint">Click to browse · JPG PNG WEBP · max 5 MB</div>
|
| 519 |
<div id="file-name"></div>
|
| 520 |
</div>
|
| 521 |
|
|
|
|
| 526 |
|
| 527 |
<!-- Submit -->
|
| 528 |
<button type="submit" class="btn-predict" id="submit-btn">
|
| 529 |
+
Classify Image
|
| 530 |
</button>
|
| 531 |
|
| 532 |
</form>
|
|
|
|
| 534 |
{% endif %}
|
| 535 |
|
| 536 |
<footer>
|
| 537 |
+
Classification made with Pytorch and TensorFlow ·
|
|
|
|
| 538 |
</footer>
|
| 539 |
|
| 540 |
<!-- JS: drag-drop, preview, loading state -->
|
|
|
|
| 590 |
|
| 591 |
// Loading state on submit
|
| 592 |
form.addEventListener('submit', () => {
|
| 593 |
+
submitBtn.textContent = 'Classifying…';
|
| 594 |
submitBtn.classList.add('loading');
|
| 595 |
});
|
| 596 |
}
|