Spaces:
Runtime error
Runtime error
tweak html content
Browse files- src/app.py +18 -31
src/app.py
CHANGED
|
@@ -16,37 +16,24 @@ pillow_heif.register_heif_opener()
|
|
| 16 |
pillow_heif.register_avif_opener()
|
| 17 |
|
| 18 |
TITLE = """
|
| 19 |
-
<
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
">
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
</
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
Turn low resolution images into high resolution versions with added generated details (your image will be modified).
|
| 38 |
-
</p>
|
| 39 |
-
|
| 40 |
-
<p>
|
| 41 |
-
This space is powered by Refiners, our open source micro-framework for simple foundation model adaptation.
|
| 42 |
-
If you enjoyed it, please consider starring Refiners on GitHub!
|
| 43 |
-
</p>
|
| 44 |
-
|
| 45 |
-
<a href="https://github.com/finegrain-ai/refiners" target="_blank">
|
| 46 |
-
<img src="https://img.shields.io/github/stars/finegrain-ai/refiners?style=social" />
|
| 47 |
-
</a>
|
| 48 |
-
|
| 49 |
-
</center>
|
| 50 |
"""
|
| 51 |
|
| 52 |
CHECKPOINTS = ESRGANUpscalerCheckpoints(
|
|
|
|
| 16 |
pillow_heif.register_avif_opener()
|
| 17 |
|
| 18 |
TITLE = """
|
| 19 |
+
<div style="
|
| 20 |
+
background-color: #f08c00;
|
| 21 |
+
color: #212529;
|
| 22 |
+
padding: 0.5rem 1rem;
|
| 23 |
+
font-size: 1.25rem;
|
| 24 |
+
" align="center">
|
| 25 |
+
🥳 We're launching our API! It's way faster and more accurate than this space, so check it out!
|
| 26 |
+
<a href="https://finegrain.ai/?utm_source=hf&utm_campaign=image-enhancer" target="_blank">Try it now for free</a>
|
| 27 |
+
using our Editor app! 🚀
|
| 28 |
+
</div>
|
| 29 |
+
<h1>Finegrain Image Enhancer</h1>
|
| 30 |
+
<p>
|
| 31 |
+
Turn low resolution images into high resolution versions with added generated details (your image will be modified).
|
| 32 |
+
</p>
|
| 33 |
+
<p>
|
| 34 |
+
<a href="https://discord.gg/zFKg5TjXub" target="_blank">[Discord]</a>
|
| 35 |
+
<a href="https://github.com/finegrain-ai/refiners" target="_blank">[GitHub]</a>
|
| 36 |
+
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
"""
|
| 38 |
|
| 39 |
CHECKPOINTS = ESRGANUpscalerCheckpoints(
|