Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -260,7 +260,16 @@ with gr.Blocks(
|
|
260 |
<h1 style="font-size: 2.5em; margin-bottom: 0.5em;">🪄 Omnieraser</h1>
|
261 |
</div>
|
262 |
""")
|
263 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
with gr.Row(equal_height=False):
|
265 |
with gr.Column(scale=1, variant="panel"):
|
266 |
gr.Markdown("## 📥 Input Panel")
|
|
|
260 |
<h1 style="font-size: 2.5em; margin-bottom: 0.5em;">🪄 Omnieraser</h1>
|
261 |
</div>
|
262 |
""")
|
263 |
+
gr.Markdown("""
|
264 |
+
To use this application:
|
265 |
+
1. Upload an image.
|
266 |
+
2. Upload a pre-defined mask if you have one. (If you don't have a mask, and want to sketch one,
|
267 |
+
we have provided a gradio demo in our github repository. <br/> Unfortunately, we cannot provide it here due to the compatibility issues with zerogpu.)
|
268 |
+
3. Set the seed (default is 1234).
|
269 |
+
4. Click 'Start Processing' to process the image.
|
270 |
+
5. The result will be displayed.
|
271 |
+
Note: The mask should be a binary image where the object to be removed is white and the background is black.
|
272 |
+
""")
|
273 |
with gr.Row(equal_height=False):
|
274 |
with gr.Column(scale=1, variant="panel"):
|
275 |
gr.Markdown("## 📥 Input Panel")
|