Spaces:
Sleeping
Sleeping
Update templates/result.html
Browse files- templates/result.html +4 -4
templates/result.html
CHANGED
|
@@ -176,7 +176,7 @@
|
|
| 176 |
|
| 177 |
<div class="d-flex align-items-center justify-content-between mb-5">
|
| 178 |
<h1 class="premium-title mb-0">Extraction Analysis <small style="font-size: 0.7rem; color: var(--primary); letter-spacing: 1px; font-weight: 400;">v2.1 GOLD</small></h1>
|
| 179 |
-
<a href="{{ url_for('reset_upload') }}" class="btn-premium">Process New Image</
|
| 180 |
</div>
|
| 181 |
|
| 182 |
{% if data %}
|
|
@@ -185,10 +185,10 @@
|
|
| 185 |
<div class="col-lg-5">
|
| 186 |
<div class="glass-card">
|
| 187 |
<h3 class="section-title">Source Image</h3>
|
| 188 |
-
{% if
|
| 189 |
-
{% for filename,
|
| 190 |
<div class="result-img-container mb-3">
|
| 191 |
-
<img src="{{
|
| 192 |
</div>
|
| 193 |
<p class="text-muted small">File: {{ filename | basename }}</p>
|
| 194 |
{% endfor %}
|
|
|
|
| 176 |
|
| 177 |
<div class="d-flex align-items-center justify-content-between mb-5">
|
| 178 |
<h1 class="premium-title mb-0">Extraction Analysis <small style="font-size: 0.7rem; color: var(--primary); letter-spacing: 1px; font-weight: 400;">v2.1 GOLD</small></h1>
|
| 179 |
+
<a href="{{ url_for('reset_upload') }}" class="btn-premium">Process New Image</aa>
|
| 180 |
</div>
|
| 181 |
|
| 182 |
{% if data %}
|
|
|
|
| 185 |
<div class="col-lg-5">
|
| 186 |
<div class="glass-card">
|
| 187 |
<h3 class="section-title">Source Image</h3>
|
| 188 |
+
{% if Img %}
|
| 189 |
+
{% for filename, result_path in Img.items() %}
|
| 190 |
<div class="result-img-container mb-3">
|
| 191 |
+
<img src="{{ result_path }}" alt="Analyzed Document" />
|
| 192 |
</div>
|
| 193 |
<p class="text-muted small">File: {{ filename | basename }}</p>
|
| 194 |
{% endfor %}
|