File size: 3,368 Bytes
5e1b2e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
CONTENT_DESCRIPTION = """

**Anime-Super-Resolution: High-Quality Anime Image Upscaling with Real-ESRGAN**

""".strip()

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=hugggingface" 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()