WebashalarForML commited on
Commit
1c5c4e6
·
verified ·
1 Parent(s): 1cdd9f1

Update templates/result.html

Browse files
Files changed (1) hide show
  1. templates/result.html +1 -0
templates/result.html CHANGED
@@ -154,6 +154,7 @@
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" />
 
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" />