deltheil commited on
Commit
81461e1
·
1 Parent(s): 9021cb4

tweak html content

Browse files
Files changed (1) hide show
  1. 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
- <center>
20
-
21
- <div style="
22
- background-color: #ff9100;
23
- color: #1f2937;
24
- padding: 0.5rem 1rem;
25
- font-size: 1.25rem;
26
- ">
27
- 🥳 We're launching our API! It's way faster and more accurate than this space, so check it out!
28
- <a href="https://finegrain.ai/?utm_source=hf&utm_campaign=image-enhancer" target="_blank">Try it now for free</a>
29
- using our Editor app! 🚀
30
- </div>
31
-
32
- <h1 style="font-size: 1.5rem; margin-bottom: 0.5rem;">
33
- Image Enhancer Powered By Refiners
34
- </h1>
35
-
36
- <p>
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(