Pierre Chapuis commited on
Commit
445e191
·
unverified ·
1 Parent(s): 78f0edb

update header

Browse files
Files changed (1) hide show
  1. src/app.py +6 -15
src/app.py CHANGED
@@ -178,19 +178,9 @@ def on_change_prompt(img: Image.Image | None, prompt: str | None):
178
 
179
 
180
  TITLE = """
181
- <div style="
182
- background-color: #f08c00;
183
- color: #212529;
184
- padding: 0.5rem 1rem;
185
- font-size: 1.25rem;
186
- " align="center">
187
- 🥳 We're launching our API! It's way faster and more accurate than this space, so check it out!
188
- <a href="https://finegrain.ai/?utm_source=hf&utm_campaign=object-cutter" target="_blank">Try it now for free</a>
189
- using our Editor app! 🚀
190
- </div>
191
  <h1>Finegrain Object Cutter</h1>
192
  <p>
193
- Generate HD cutouts instantly with a text prompt—no manual work!
194
  Powered by
195
  <a
196
  href="https://huggingface.co/finegrain/finegrain-box-segmenter"
@@ -201,13 +191,14 @@ TITLE = """
201
  href="https://huggingface.co/datasets/Nfiniteai/product-masks-sample"
202
  target="_blank"
203
  >synthetic data provided by Nfinite</a>.
204
- </p>
205
- <p>
206
- <a href="https://discord.gg/zFKg5TjXub" target="_blank">[Discord]</a>
207
- <a href="https://github.com/finegrain-ai" target="_blank">[GitHub]</a>
208
  </p>
209
  """
210
 
 
211
  with gr.Blocks() as demo:
212
  gr.HTML(TITLE)
213
 
 
178
 
179
 
180
  TITLE = """
 
 
 
 
 
 
 
 
 
 
181
  <h1>Finegrain Object Cutter</h1>
182
  <p>
183
+ Create HD cutouts from any image with just a prompt.
184
  Powered by
185
  <a
186
  href="https://huggingface.co/finegrain/finegrain-box-segmenter"
 
191
  href="https://huggingface.co/datasets/Nfiniteai/product-masks-sample"
192
  target="_blank"
193
  >synthetic data provided by Nfinite</a>.
194
+ </p><p>
195
+ For premium-quality results,
196
+ <a href="https://chat.finegrain.ai?utm_source=hf&utm_campaign=cutter">try Finegrain Chat</a>
197
+ it's free to test!
198
  </p>
199
  """
200
 
201
+
202
  with gr.Blocks() as demo:
203
  gr.HTML(TITLE)
204