Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -149,12 +149,11 @@ def build_demo(embed_mode, concurrency_count=1):
|
|
149 |
state_image_path = gr.State(value=None)
|
150 |
|
151 |
if not embed_mode:
|
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="
|
158 |
|
159 |
<!-- Description -->
|
160 |
<p>ShowUI is a lightweight vision-language-action model for GUI agents.</p>
|
|
|
149 |
state_image_path = gr.State(value=None)
|
150 |
|
151 |
if not embed_mode:
|
|
|
152 |
gr.HTML(
|
153 |
f"""
|
154 |
<div style="text-align: center; margin-bottom: 20px;">
|
155 |
<!-- Image -->
|
156 |
+
<img src="data:image/png;base64,{base64_image}" alt="ShowUI" width="320" style="margin-bottom: 10px;"/>
|
157 |
|
158 |
<!-- Description -->
|
159 |
<p>ShowUI is a lightweight vision-language-action model for GUI agents.</p>
|