|
TITLE = "# Anime Super Resolution 🖼️" |
|
|
|
CONTENT_DESCRIPTION = """ |
|
**Anime-Super-Resolution: High-Quality Anime Image Upscaling with Real-ESRGAN** |
|
""".strip() |
|
|
|
WARNING_1 = ( |
|
"**Note:** For optimal output quality, set `Outer Scale` to a value between 1 and 4. " |
|
"**Values greater than 4 are not recommended**. " |
|
"Please ensure `Outer Scale` is greater than or equal to `Inner Scale` (default: 4)." |
|
) |
|
|
|
CONTENT_IN_1 = """ |
|
Transforms low-res anime images into sharp, vibrant HD visuals, enhancing textures and details for artwork and games. |
|
""".strip() |
|
|
|
CONTENT_IN_2 = """ |
|
<p class="source"> |
|
For more information, you can check out my GitHub repo:<br> |
|
Source code: |
|
<a class="badge" href="https://github.com/danhtran2mind/Anime-Super-Resolution"> |
|
<img src="https://img.shields.io/badge/GitHub-danhtran2mind%2FAnime--Super--Resolution-blue?style=flat&logo=github" alt="GitHub Repo"> |
|
</a>, |
|
Model Hub: |
|
<a class="badge" href="https://huggingface.co/danhtran2mind/Real-ESRGAN-Anime-finetuning"> |
|
<img src="https://img.shields.io/badge/HuggingFace-danhtran2mind%2FReal--ESRGAN--Anime--finetuning-yellow?style=flat&logo=huggingface" alt="HuggingFace Model"> |
|
</a>. |
|
</p> |
|
""".strip() |
|
|
|
CONTENT_OUT_1 = """ |
|
This project leverages code from: |
|
<div class="quote-container"> |
|
<p> |
|
The Original Real-ESRGAN |
|
<a class="badge" href="https://github.com/xinntao/Real-ESRGAN"> |
|
<img src="https://img.shields.io/badge/Built%20on-xinntao%2FReal--ESRGAN-blue?style=flat&logo=github" alt="Built on Real-ESRGAN"> |
|
</a> |
|
by |
|
<a class="badge" href="https://github.com/xinntao"> |
|
<img src="https://img.shields.io/badge/GitHub-xinntao-blue?style=flat&logo=github" alt="xinntao"> |
|
</a>, |
|
with our own bug fixes and enhancements available at |
|
<a class="badge" href="https://github.com/danhtran2mind/Real-ESRGAN"> |
|
<img src="https://img.shields.io/badge/GitHub-danhtran2mind%2FReal--ESRGAN-blue?style=flat&logo=github" alt="Real-ESRGAN Enhancements"> |
|
</a>. |
|
<br> |
|
The Inference code |
|
<a class="badge" href="https://github.com/ai-forever/Real-ESRGAN"> |
|
<img src="https://img.shields.io/badge/Built%20on-ai--forever%2FReal--ESRGAN-blue?style=flat&logo=github" alt="Built on Real-ESRGAN"> |
|
</a> |
|
by |
|
<a class="badge" href="https://github.com/ai-forever"> |
|
<img src="https://img.shields.io/badge/GitHub-ai--forever-blue?style=flat&logo=github" alt="xinntao"> |
|
</a>, |
|
with our own bug fixes and enhancements available at |
|
<a class="badge" href="https://github.com/danhtran2mind/Real-ESRGAN-inference"> |
|
<img src="https://img.shields.io/badge/GitHub-danhtran2mind%2FReal--ESRGAN--inference-blue?style=flat&logo=github" alt="Real-ESRGAN Enhancements"> |
|
</a>. |
|
</p> |
|
</div> |
|
""".strip() |
|
|
|
CONTENT_OUT_2 = """ |
|
You can explore more Model Hubs at: |
|
<div class="quote-container"> |
|
<p> |
|
HuggingFace Model Hub: |
|
<a class="badge" href="https://huggingface.co/ai-forever/Real-ESRGAN"> |
|
<img src="https://img.shields.io/badge/HuggingFace-ai--forever%2FReal--ESRGAN-yellow?style=flat&logo=huggingface" alt="ai-forever Real-ESRGAN Model"> |
|
</a>, |
|
Real-ESRGAN Model releases: |
|
<a class="badge" href="https://github.com/xinntao/Real-ESRGAN/releases"> |
|
<img src="https://img.shields.io/badge/GitHub-Real--ESRGAN%2Freleases-blue?style=flat&logo=github" alt="Real-ESRGAN releases"> |
|
</a>. |
|
</p> |
|
</div> |
|
""".strip() |