Spaces:
Running
Running
Update Room Cleaner instructions and add badges to app.py
Browse files
README.md
CHANGED
@@ -6,7 +6,13 @@ colorTo: blue
|
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.44.0
|
8 |
app_file: app.py
|
9 |
-
pinned:
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
-
# Room Cleaner
|
|
|
|
|
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.44.0
|
8 |
app_file: app.py
|
9 |
+
pinned: true
|
10 |
+
short_description: Clean your room with the help of AI
|
11 |
+
tags:
|
12 |
+
- inpainting
|
13 |
+
- image-to-image
|
14 |
---
|
15 |
|
16 |
+
# Room Cleaner
|
17 |
+
|
18 |
+
This is a simple image inpainting model that can help you clean your room. Upload an image of your room with some unwanted objects, select them, and let the model do the rest. The model will remove the unwanted objects and fill the gaps with the surrounding pixels.
|
app.py
CHANGED
@@ -191,7 +191,7 @@ def run_sync(*args):
|
|
191 |
|
192 |
with gr.Blocks() as demo:
|
193 |
gr.HTML("""
|
194 |
-
<div style="text-align:center;">
|
195 |
<h1>🧹 Room Cleaner</h1>
|
196 |
<div>
|
197 |
<p>Upload an image and use the pencil tool (✏️ icon at the bottom) to <b>mark the areas you want to remove</b>.</p>
|
@@ -208,6 +208,14 @@ with gr.Blocks() as demo:
|
|
208 |
|
209 |
<p>⚠️ Note that the images are compressed to the workloads of the demo. </p>
|
210 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
</div>
|
212 |
""")
|
213 |
with gr.Row():
|
@@ -298,4 +306,8 @@ with gr.Blocks() as demo:
|
|
298 |
)
|
299 |
|
300 |
if __name__ == "__main__":
|
301 |
-
demo.launch(
|
|
|
|
|
|
|
|
|
|
191 |
|
192 |
with gr.Blocks() as demo:
|
193 |
gr.HTML("""
|
194 |
+
<div style="display: flex; justify-content: center; text-align:center; flex-direction: column;">
|
195 |
<h1>🧹 Room Cleaner</h1>
|
196 |
<div>
|
197 |
<p>Upload an image and use the pencil tool (✏️ icon at the bottom) to <b>mark the areas you want to remove</b>.</p>
|
|
|
208 |
|
209 |
<p>⚠️ Note that the images are compressed to the workloads of the demo. </p>
|
210 |
</div>
|
211 |
+
<div style="margin-top: 20px; display: flex; justify-content: center; gap: 10px;">
|
212 |
+
<a href="https://x.com/JulienBlanchon">
|
213 |
+
<img src="https://img.shields.io/badge/X-%23000000.svg?style=for-the-badge&logo=X&logoColor=white" alt="X Badge" style="border-radius: 3px;"/>
|
214 |
+
</a>
|
215 |
+
<a href="https://x.com/jeremie_feron">
|
216 |
+
<img src="https://img.shields.io/badge/X-%23000000.svg?style=for-the-badge&logo=X&logoColor=white" alt="X Badge" style="border-radius: 3px;"/>
|
217 |
+
</a>
|
218 |
+
</div>
|
219 |
</div>
|
220 |
""")
|
221 |
with gr.Row():
|
|
|
306 |
)
|
307 |
|
308 |
if __name__ == "__main__":
|
309 |
+
demo.launch(
|
310 |
+
debug=False,
|
311 |
+
share=False,
|
312 |
+
show_api=False,
|
313 |
+
)
|