linoyts HF Staff commited on
Commit
a86c318
·
verified ·
1 Parent(s): 41610b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -5
app.py CHANGED
@@ -164,11 +164,21 @@ def process_and_display(
164
 
165
  return modified_images
166
 
167
-
168
-
169
- with gr.Blocks(title="Image Concept Composition") as demo:
170
- gr.Markdown("# IP Composer")
171
- gr.Markdown("")
 
 
 
 
 
 
 
 
 
 
172
 
173
  with gr.Row():
174
  with gr.Column():
 
164
 
165
  return modified_images
166
 
167
+ # UI CSS
168
+ css = """
169
+ #col-container {
170
+ margin: 0 auto;
171
+ max-width: 960px;
172
+ }
173
+ """
174
+
175
+ with gr.Blocks(css=css) as demo:
176
+ gr.Markdown(f"""# IP Composer 🌅✚🖌️
177
+ ### compose new images with visual concepts
178
+ following the algorithm proposed in [*Stable Flow: Vital Layers for Training-Free Image Editing* by Avrahami et al.](https://arxiv.org/pdf/2502.13951)
179
+
180
+ [[project page](https://ip-composer.github.io/IP-Composer/) [[arxiv](https://arxiv.org/pdf/2502.13951)]
181
+ """)
182
 
183
  with gr.Row():
184
  with gr.Column():