add finegrain editor banner
Browse files- src/app.py +9 -20
src/app.py
CHANGED
@@ -106,31 +106,20 @@ def on_change_prompt(img: Image.Image | None, prompt: str | None):
|
|
106 |
TITLE = """
|
107 |
<center>
|
108 |
|
109 |
-
<h1 style="font-size: 1.5rem; margin-bottom: 0.5rem;">
|
110 |
-
Object Eraser Powered By Refiners
|
111 |
-
</h1>
|
112 |
-
|
113 |
<div style="
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
gap: 0.5rem;
|
118 |
-
margin-bottom: 0.5rem;
|
119 |
font-size: 1.25rem;
|
120 |
-
flex-wrap: wrap;
|
121 |
">
|
122 |
-
|
123 |
-
<a href="https://finegrain.ai
|
124 |
-
<a
|
125 |
-
href="https://huggingface.co/spaces/finegrain/finegrain-image-enhancer"
|
126 |
-
target="_blank"
|
127 |
-
>[Finegrain Image Enhancer]</a>
|
128 |
-
<a
|
129 |
-
href="https://huggingface.co/spaces/finegrain/finegrain-object-cutter"
|
130 |
-
target="_blank"
|
131 |
-
>[Finegrain Object Cutter]</a>
|
132 |
</div>
|
133 |
|
|
|
|
|
|
|
|
|
134 |
<p>
|
135 |
Erase any object from your image just by naming it — no manual work required!
|
136 |
Not only will the object disappear, but so will its effects on the scene, like shadows or reflections.
|
|
|
106 |
TITLE = """
|
107 |
<center>
|
108 |
|
|
|
|
|
|
|
|
|
109 |
<div style="
|
110 |
+
background-color: #ff9100;
|
111 |
+
color: #1f2937;
|
112 |
+
padding: 0.5rem 1rem;
|
|
|
|
|
113 |
font-size: 1.25rem;
|
|
|
114 |
">
|
115 |
+
🚀 NEW: all the Finegrain spaces are now reunited under the
|
116 |
+
<a href="https://editor.finegrain.ai?utm_source=hf&utm_campaign=object-eraser" target="_blank">Finegrain Editor</a>. Give it a shot! 🚀
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
</div>
|
118 |
|
119 |
+
<h1 style="font-size: 1.5rem; margin-bottom: 0.5rem;">
|
120 |
+
Object Eraser Powered By Refiners
|
121 |
+
</h1>
|
122 |
+
|
123 |
<p>
|
124 |
Erase any object from your image just by naming it — no manual work required!
|
125 |
Not only will the object disappear, but so will its effects on the scene, like shadows or reflections.
|