deltheil commited on
Commit
b33fab8
1 Parent(s): 217e57c

add finegrain editor banner

Browse files
Files changed (1) hide show
  1. src/app.py +9 -20
src/app.py CHANGED
@@ -180,31 +180,20 @@ def on_change_prompt(img: Image.Image | None, prompt: str | None):
180
  TITLE = """
181
  <center>
182
 
183
- <h1 style="font-size: 1.5rem; margin-bottom: 0.5rem;">
184
- Object Cutter Powered By Refiners
185
- </h1>
186
-
187
  <div style="
188
- display: flex;
189
- align-items: center;
190
- justify-content: center;
191
- gap: 0.5rem;
192
- margin-bottom: 0.5rem;
193
  font-size: 1.25rem;
194
- flex-wrap: wrap;
195
  ">
196
- <a href="https://github.com/finegrain-ai/refiners" target="_blank">[Refiners]</a>
197
- <a href="https://finegrain.ai/" target="_blank">[Finegrain]</a>
198
- <a
199
- href="https://huggingface.co/spaces/finegrain/finegrain-object-eraser"
200
- target="_blank"
201
- >[Finegrain Object Eraser]</a>
202
- <a
203
- href="https://huggingface.co/spaces/finegrain/finegrain-image-enhancer"
204
- target="_blank"
205
- >[Finegrain Image Enhancer]</a>
206
  </div>
207
 
 
 
 
 
208
  <p>
209
  Create high-quality HD cutouts for any object in your image with just a text prompt — no manual work required!
210
  <br>
 
180
  TITLE = """
181
  <center>
182
 
 
 
 
 
183
  <div style="
184
+ background-color: #ff9100;
185
+ color: #1f2937;
186
+ padding: 0.5rem 1rem;
 
 
187
  font-size: 1.25rem;
 
188
  ">
189
+ 🚀 NEW: all the Finegrain spaces are now reunited under the
190
+ <a href="https://editor.finegrain.ai?utm_source=hf&utm_campaign=object-cutter" target="_blank">Finegrain Editor</a>. Give it a shot! 🚀
 
 
 
 
 
 
 
 
191
  </div>
192
 
193
+ <h1 style="font-size: 1.5rem; margin-bottom: 0.5rem;">
194
+ Object Cutter Powered By Refiners
195
+ </h1>
196
+
197
  <p>
198
  Create high-quality HD cutouts for any object in your image with just a text prompt — no manual work required!
199
  <br>