Update app.py
Browse files
app.py
CHANGED
|
@@ -196,6 +196,17 @@ def build_demo(embed_mode, concurrency_count=1):
|
|
| 196 |
<img src="data:image/png;base64,{base64_image}" alt="ShowUI" width="320" style="margin-bottom: 10px;"/>
|
| 197 |
</div>
|
| 198 |
<p>ShowUI is a lightweight vision-language-action model for GUI agents.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
</div>
|
| 200 |
"""
|
| 201 |
)
|
|
@@ -267,7 +278,7 @@ def build_demo(embed_mode, concurrency_count=1):
|
|
| 267 |
)
|
| 268 |
|
| 269 |
clear_btn.click(
|
| 270 |
-
lambda: (None, None, None, None),
|
| 271 |
inputs=None,
|
| 272 |
outputs=[imagebox, textbox, output_img, output_coords, state_image_path, state_session_id],
|
| 273 |
queue=False
|
|
|
|
| 196 |
<img src="data:image/png;base64,{base64_image}" alt="ShowUI" width="320" style="margin-bottom: 10px;"/>
|
| 197 |
</div>
|
| 198 |
<p>ShowUI is a lightweight vision-language-action model for GUI agents.</p>
|
| 199 |
+
<div style="display: flex; justify-content: center; gap: 15px; font-size: 20px;">
|
| 200 |
+
<a href="https://huggingface.co/showlab/ShowUI-2B" target="_blank">
|
| 201 |
+
<img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-ShowUI--2B-blue" alt="model"/>
|
| 202 |
+
</a>
|
| 203 |
+
<a href="https://arxiv.org/abs/2411.17465" target="_blank">
|
| 204 |
+
<img src="https://img.shields.io/badge/arXiv%20paper-2411.17465-b31b1b.svg" alt="arXiv"/>
|
| 205 |
+
</a>
|
| 206 |
+
<a href="https://github.com/showlab/ShowUI" target="_blank">
|
| 207 |
+
<img src="https://img.shields.io/badge/GitHub-ShowUI-black" alt="GitHub"/>
|
| 208 |
+
</a>
|
| 209 |
+
</div>
|
| 210 |
</div>
|
| 211 |
"""
|
| 212 |
)
|
|
|
|
| 278 |
)
|
| 279 |
|
| 280 |
clear_btn.click(
|
| 281 |
+
lambda: (None, None, None, None, None, None),
|
| 282 |
inputs=None,
|
| 283 |
outputs=[imagebox, textbox, output_img, output_coords, state_image_path, state_session_id],
|
| 284 |
queue=False
|