Pierre Chapuis commited on
Commit
f661550
·
unverified ·
1 Parent(s): 9ebbe8e

use Markdown for title

Browse files
Files changed (1) hide show
  1. src/app.py +8 -16
src/app.py CHANGED
@@ -103,32 +103,24 @@ def process(
103
 
104
 
105
  TITLE = """
106
- <h1>Finegrain Product Placement LoRA</h1>
107
 
108
- <p>
109
  🧪 An experiment to extend Flux Kontext with product placement capabilities.
110
  The LoRA was trained using EditNet, our before / after image editing dataset.
111
- </p>
112
 
113
- <p>
114
  Just draw a box to set where the subject should be blended, and at what size.
115
- </p>
116
 
117
- <p>
118
- <em>The reference must be a cutout, i.e. have a transparent background.</em>
119
  If you do not have a cutout available you can create one
120
- <a href="https://huggingface.co/spaces/finegrain/finegrain-object-cutter">here</a>.
121
- </p>
122
-
123
- <p>
124
- <a href="https://huggingface.co/finegrain/finegrain-product-placement-lora">Model Card</a> |
125
- <a href="https://blog.finegrain.ai/posts/product-placement-flux-lora-experiment/">Blog Post</a> |
126
- <a href="https://finegrain.ai/editnet">EditNet</a>
127
- </p>
128
  """
129
 
130
  with gr.Blocks() as demo:
131
- gr.HTML(TITLE)
132
  with gr.Row():
133
  with gr.Column():
134
  scene = image_annotator(
 
103
 
104
 
105
  TITLE = """
106
+ # Finegrain Product Placement LoRA
107
 
 
108
  🧪 An experiment to extend Flux Kontext with product placement capabilities.
109
  The LoRA was trained using EditNet, our before / after image editing dataset.
 
110
 
 
111
  Just draw a box to set where the subject should be blended, and at what size.
 
112
 
113
+ *The reference must be a cutout, i.e. have a transparent background.*
 
114
  If you do not have a cutout available you can create one
115
+ [here](https://huggingface.co/spaces/finegrain/finegrain-object-cutter).
116
+
117
+ [Model Card](https://huggingface.co/finegrain/finegrain-product-placement-lora) |
118
+ [Blog Post](https://blog.finegrain.ai/posts/product-placement-flux-lora-experiment/) |
119
+ [EditNet](https://finegrain.ai/editnet)
 
 
 
120
  """
121
 
122
  with gr.Blocks() as demo:
123
+ gr.Markdown(TITLE)
124
  with gr.Row():
125
  with gr.Column():
126
  scene = image_annotator(