HTML
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ def home_page():
|
|
| 96 |
<li><a href="/demo">Demo</a></li>
|
| 97 |
<li><a href="/application">Application</a></li>
|
| 98 |
</ul>
|
| 99 |
-
<div id="credit">Image
|
| 100 |
<a href="https://stock.adobe.com/es/contributor/212598146/UMAMI%20LAB" target="_blank">Adobe Stock User Umami Lab</a>
|
| 101 |
and
|
| 102 |
<a href="https://www.shutterstock.com/g/Idoia+Lerchundi?rid=430751957" target="_blank">Shutterstock User PhoArt101</a>.
|
|
@@ -144,7 +144,7 @@ def demo_page():
|
|
| 144 |
<h3>Result 2:</h3>
|
| 145 |
<img src="data:image/jpeg;base64,{encoded_img2}" />
|
| 146 |
<p><a href="/">Back</a></p>
|
| 147 |
-
<div id="credit">Image
|
| 148 |
<a href="https://stock.adobe.com/es/contributor/212598146/UMAMI%20LAB" target="_blank">Adobe Stock User Umami Lab</a>
|
| 149 |
and
|
| 150 |
<a href="https://www.shutterstock.com/g/Idoia+Lerchundi?rid=430751957" target="_blank">Shutterstock User PhoArt101</a>.
|
|
@@ -172,7 +172,7 @@ def application_page():
|
|
| 172 |
<input type="submit" value="Square It">
|
| 173 |
</form>
|
| 174 |
<a href="/">Back</a>
|
| 175 |
-
<div id="credit">Image
|
| 176 |
<a href="https://stock.adobe.com/es/contributor/212598146/UMAMI%20LAB" target="_blank">Adobe Stock User Umami Lab</a>
|
| 177 |
and
|
| 178 |
<a href="https://www.shutterstock.com/g/Idoia+Lerchundi?rid=430751957" target="_blank">Shutterstock User PhoArt101</a>.
|
|
@@ -222,8 +222,10 @@ async def upload_file(file: UploadFile = File(...)):
|
|
| 222 |
<img src='data:image/jpeg;base64,{display_encoded_img}' width="512" height="512" />
|
| 223 |
<p><a href="data:image/jpeg;base64,{full_size_encoded_img}" download="squared_image.jpg">
|
| 224 |
Download Full-Size Image</a></p>
|
|
|
|
|
|
|
| 225 |
<p><a href="/">Back</a></p>
|
| 226 |
-
<div id="credit">Image
|
| 227 |
<a href="https://stock.adobe.com/es/contributor/212598146/UMAMI%20LAB" target="_blank">Adobe Stock User Umami Lab</a>
|
| 228 |
and
|
| 229 |
<a href="https://www.shutterstock.com/g/Idoia+Lerchundi?rid=430751957" target="_blank">Shutterstock User PhoArt101</a>.
|
|
|
|
| 96 |
<li><a href="/demo">Demo</a></li>
|
| 97 |
<li><a href="/application">Application</a></li>
|
| 98 |
</ul>
|
| 99 |
+
<div id="credit">Image credit
|
| 100 |
<a href="https://stock.adobe.com/es/contributor/212598146/UMAMI%20LAB" target="_blank">Adobe Stock User Umami Lab</a>
|
| 101 |
and
|
| 102 |
<a href="https://www.shutterstock.com/g/Idoia+Lerchundi?rid=430751957" target="_blank">Shutterstock User PhoArt101</a>.
|
|
|
|
| 144 |
<h3>Result 2:</h3>
|
| 145 |
<img src="data:image/jpeg;base64,{encoded_img2}" />
|
| 146 |
<p><a href="/">Back</a></p>
|
| 147 |
+
<div id="credit">Image credit
|
| 148 |
<a href="https://stock.adobe.com/es/contributor/212598146/UMAMI%20LAB" target="_blank">Adobe Stock User Umami Lab</a>
|
| 149 |
and
|
| 150 |
<a href="https://www.shutterstock.com/g/Idoia+Lerchundi?rid=430751957" target="_blank">Shutterstock User PhoArt101</a>.
|
|
|
|
| 172 |
<input type="submit" value="Square It">
|
| 173 |
</form>
|
| 174 |
<a href="/">Back</a>
|
| 175 |
+
<div id="credit">Image credit
|
| 176 |
<a href="https://stock.adobe.com/es/contributor/212598146/UMAMI%20LAB" target="_blank">Adobe Stock User Umami Lab</a>
|
| 177 |
and
|
| 178 |
<a href="https://www.shutterstock.com/g/Idoia+Lerchundi?rid=430751957" target="_blank">Shutterstock User PhoArt101</a>.
|
|
|
|
| 222 |
<img src='data:image/jpeg;base64,{display_encoded_img}' width="512" height="512" />
|
| 223 |
<p><a href="data:image/jpeg;base64,{full_size_encoded_img}" download="squared_image.jpg">
|
| 224 |
Download Full-Size Image</a></p>
|
| 225 |
+
<div style="margin: 0.75em 0;"><a href="https://www.buymeacoffee.com/Artgen" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a></div>
|
| 226 |
+
<div style="margin: 0.75em 0;">But what would really help me is a <strong>PRO subscription</strong> to Google Colab, Kaggle or Hugging Face. Many thanks.</div>
|
| 227 |
<p><a href="/">Back</a></p>
|
| 228 |
+
<div id="credit">Image credit
|
| 229 |
<a href="https://stock.adobe.com/es/contributor/212598146/UMAMI%20LAB" target="_blank">Adobe Stock User Umami Lab</a>
|
| 230 |
and
|
| 231 |
<a href="https://www.shutterstock.com/g/Idoia+Lerchundi?rid=430751957" target="_blank">Shutterstock User PhoArt101</a>.
|