WebashalarForML
commited on
Commit
•
ce0aa9d
1
Parent(s):
1c5c4e6
Update templates/result.html
Browse files- templates/result.html +1 -2
templates/result.html
CHANGED
@@ -153,8 +153,7 @@
|
|
153 |
{% if file_extension %}
|
154 |
{% if file_extension in ['pdf'] %}
|
155 |
<!-- Display PDF in an iframe -->
|
156 |
-
<iframe src="{{ file_url }}" title="PDF Viewer" class="file-viewer"></iframe>
|
157 |
-
<iframe src="{{ uploaded_file }}" title="PDF Viewer" class="file-viewer"></iframe>
|
158 |
{% elif file_extension in ['png', 'jpg', 'jpeg'] %}
|
159 |
<!-- Display Image -->
|
160 |
<img src="{{ file_url }}" alt="Processed Image" class="img-fluid file-viewer" />
|
|
|
153 |
{% if file_extension %}
|
154 |
{% if file_extension in ['pdf'] %}
|
155 |
<!-- Display PDF in an iframe -->
|
156 |
+
<iframe src="{{ file_url }}" title="PDF Viewer" class="file-viewer"></iframe>
|
|
|
157 |
{% elif file_extension in ['png', 'jpg', 'jpeg'] %}
|
158 |
<!-- Display Image -->
|
159 |
<img src="{{ file_url }}" alt="Processed Image" class="img-fluid file-viewer" />
|