test
Browse files
app.py
CHANGED
|
@@ -362,7 +362,24 @@ with gr.Blocks(css="#post-gallery { overflow: hidden !important;} .grid-wrap{ ov
|
|
| 362 |
text_output = gr.Textbox(label="Processed Text")
|
| 363 |
text_button = gr.Button("Process Text")
|
| 364 |
with antd.Layout.Footer(elem_style=footer_style):
|
| 365 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 366 |
|
| 367 |
|
| 368 |
text_button.click(
|
|
|
|
| 362 |
text_output = gr.Textbox(label="Processed Text")
|
| 363 |
text_button = gr.Button("Process Text")
|
| 364 |
with antd.Layout.Footer(elem_style=footer_style):
|
| 365 |
+
with antd.Card(elem_style=dict(width=300)):
|
| 366 |
+
with ms.Slot("cover"):
|
| 367 |
+
antd.Image(
|
| 368 |
+
value=
|
| 369 |
+
"https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png",
|
| 370 |
+
preview=False,
|
| 371 |
+
width="100%",
|
| 372 |
+
alt="example")
|
| 373 |
+
with ms.Slot("actions"):
|
| 374 |
+
antd.Icon("SettingOutlined")
|
| 375 |
+
antd.Icon("EditOutlined")
|
| 376 |
+
antd.Icon("EllipsisOutlined")
|
| 377 |
+
with antd.Card.Meta(title="Card title",
|
| 378 |
+
description="This is the description"):
|
| 379 |
+
with ms.Slot("avatar"):
|
| 380 |
+
antd.Avatar(
|
| 381 |
+
"https://api.dicebear.com/7.x/miniavs/svg?seed=8"
|
| 382 |
+
)
|
| 383 |
|
| 384 |
|
| 385 |
text_button.click(
|