h-siyuan commited on
Commit
86c315e
·
verified ·
1 Parent(s): b226556

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -11
app.py CHANGED
@@ -152,17 +152,24 @@ def build_demo(embed_mode, concurrency_count=1):
152
  # Replace the original description with new content
153
  gr.HTML(
154
  f"""
155
- <div style="display: flex; align-items: center; justify-content: center; margin-bottom: 20px;">
156
- <!-- Logo on the left -->
157
- <a href="https://github.com/showlab/ShowUI" target="_blank" style="margin-right: 20px;">
158
- <img src="data:image/png;base64,{base64_image}" alt="ShowUI Logo" style="width: auto; height: 66px;"/>
159
- </a>
160
- <!-- Links on the right -->
161
- <div style="display: flex; gap: 15px; font-size: 20px;">
162
- <a href="https://github.com/showlab/ShowUI" target="_blank">🏠[Project Homepage]</a>
163
- <a href="https://github.com/showlab/ShowUI" target="_blank">🤖[Code]</a>
164
- <a href="https://huggingface.co/showlab/ShowUI-2B" target="_blank">😊[Models]</a>
165
- <a href="https://arxiv.org/" target="_blank">📚[Paper]</a>
 
 
 
 
 
 
 
166
  </div>
167
  </div>
168
  """
 
152
  # Replace the original description with new content
153
  gr.HTML(
154
  f"""
155
+ <div style="text-align: center; margin-bottom: 20px;">
156
+ <!-- Image -->
157
+ <img src="examples/showui.png" alt="ShowUI" width="320" style="margin-bottom: 10px;"/>
158
+
159
+ <!-- Description -->
160
+ <p>ShowUI is a lightweight vision-language-action model for GUI agents.</p>
161
+
162
+ <!-- Links -->
163
+ <div style="display: flex; justify-content: center; gap: 15px; font-size: 20px;">
164
+ <a href="https://huggingface.co/showlab/ShowUI-2B" target="_blank">
165
+ <img src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-ShowUI--2B-blue" alt="model"/>
166
+ </a>
167
+ <a href="https://arxiv.org/abs/2411.17465" target="_blank">
168
+ <img src="https://img.shields.io/badge/arXiv%20paper-2411.17465-b31b1b.svg" alt="arXiv"/>
169
+ </a>
170
+ <a href="https://github.com/showlab/ShowUI" target="_blank">
171
+ <img src="https://img.shields.io/badge/GitHub-ShowUI-black" alt="GitHub"/>
172
+ </a>
173
  </div>
174
  </div>
175
  """