deltheil commited on
Commit
fc051c2
·
1 Parent(s): 9e26efb

tweak html content

Browse files
Files changed (1) hide show
  1. src/app.py +19 -32
src/app.py CHANGED
@@ -121,38 +121,25 @@ def on_change_prompt(img: Image.Image | None, prompt: str | None):
121
 
122
 
123
  TITLE = """
124
- <center>
125
-
126
- <div style="
127
- background-color: #ff9100;
128
- color: #1f2937;
129
- padding: 0.5rem 1rem;
130
- font-size: 1.25rem;
131
- ">
132
- 🥳 We're launching our API! It's way faster and more accurate than this space, so check it out!
133
- <a href="https://finegrain.ai/?utm_source=hf&utm_campaign=object-eraser" target="_blank">Try it now for free</a>
134
- using our Editor app! 🚀
135
- </div>
136
-
137
- <h1 style="font-size: 1.5rem; margin-bottom: 0.5rem;">
138
- Object Eraser Powered By Refiners
139
- </h1>
140
-
141
- <p>
142
- Erase any object from your image just by naming it — no manual work required!
143
- Not only will the object disappear, but so will its effects on the scene, like shadows or reflections.
144
- </p>
145
-
146
- <p>
147
- This space is powered by Refiners, our open source micro-framework for simple foundation model adaptation.
148
- If you enjoyed it, please consider starring Refiners on GitHub!
149
- </p>
150
-
151
- <a href="https://github.com/finegrain-ai/refiners" target="_blank">
152
- <img src="https://img.shields.io/github/stars/finegrain-ai/refiners?style=social" />
153
- </a>
154
-
155
- </center>
156
  """
157
 
158
  with gr.Blocks() as demo:
 
121
 
122
 
123
  TITLE = """
124
+ <div style="
125
+ background-color: #f08c00;
126
+ color: #212529;
127
+ padding: 0.5rem 1rem;
128
+ font-size: 1.25rem;
129
+ " align="center">
130
+ 🥳 We're launching our API! It's way faster and more accurate than this space, so check it out!
131
+ <a href="https://finegrain.ai/?utm_source=hf&utm_campaign=object-eraser" target="_blank">Try it now for free</a>
132
+ using our Editor app! 🚀
133
+ </div>
134
+ <h1>Finegrain Object Eraser</h1>
135
+ <p>
136
+ Erase any object from your image just by naming it — no manual work required!
137
+ Not only will the object disappear, but so will its effects on the scene, like shadows or reflections.
138
+ </p>
139
+ <p>
140
+ <a href="https://discord.gg/zFKg5TjXub" target="_blank">[Discord]</a>
141
+ <a href="https://github.com/finegrain-ai" target="_blank">[GitHub]</a>
142
+ </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  """
144
 
145
  with gr.Blocks() as demo: