imseldrith commited on
Commit
f944b4f
1 Parent(s): ecb0718

Update templates/output.html

Browse files
Files changed (1) hide show
  1. templates/output.html +5 -7
templates/output.html CHANGED
@@ -121,9 +121,9 @@
121
  </head>
122
  <body>
123
  <div class="container">
124
- <h1>Generated Image</h1>
125
  <div class="container">
126
- <h1>Generated Output</h1>
127
  <div class="output-container">
128
  {% if filename.endswith('.jpg') or filename.endswith('.png') or filename.endswith('.jpeg') %}
129
  <img src="{{ url_for('output_files', filename=filename) }}" alt="Generated Image" onclick="toggleImageSize(this)">
@@ -137,11 +137,9 @@
137
  {% endif %}
138
  </div>
139
  <div class="button-container">
140
- <a href="/output_files/output.png" class="btn btn-success" onclick="downloadImage()"><i class="fas fa-download"></i> Download Image</a>
141
- </div>
142
- <div class="image-details">
143
- <p>Image Size: 1200x800 pixels</p>
144
- <p>File Format: JPEG</p>
145
  </div>
146
  <div class="social-buttons">
147
  <span class="social-button">
 
121
  </head>
122
  <body>
123
  <div class="container">
124
+ <h1>Swapped Image/Video</h1>
125
  <div class="container">
126
+ <h1>Swapped Output</h1>
127
  <div class="output-container">
128
  {% if filename.endswith('.jpg') or filename.endswith('.png') or filename.endswith('.jpeg') %}
129
  <img src="{{ url_for('output_files', filename=filename) }}" alt="Generated Image" onclick="toggleImageSize(this)">
 
137
  {% endif %}
138
  </div>
139
  <div class="button-container">
140
+ <a href="{{ url_for('download_output', filename=filename) }}" class="btn btn-success">
141
+ <i class="fas fa-download"></i> Download Swapped
142
+ </a>
 
 
143
  </div>
144
  <div class="social-buttons">
145
  <span class="social-button">