Update app.py
Browse files
app.py
CHANGED
@@ -351,43 +351,7 @@ with gr.Blocks(css="#post-gallery { overflow: hidden !important;} .grid-wrap{ ov
|
|
351 |
)
|
352 |
|
353 |
with gr.Tab("🥇 Leaderboard"):
|
354 |
-
|
355 |
-
with ms.Slot("cover"):
|
356 |
-
antd.Image(
|
357 |
-
value=
|
358 |
-
"https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png",
|
359 |
-
preview=False,
|
360 |
-
width="100%",
|
361 |
-
alt="example")
|
362 |
-
with ms.Slot("actions"):
|
363 |
-
antd.Icon("SettingOutlined")
|
364 |
-
antd.Icon("EditOutlined")
|
365 |
-
antd.Icon("EllipsisOutlined")
|
366 |
-
with antd.Card.Meta(title="Card title",
|
367 |
-
description="This is the description"):
|
368 |
-
with ms.Slot("avatar"):
|
369 |
-
antd.Avatar(
|
370 |
-
"https://api.dicebear.com/7.x/miniavs/svg?seed=8"
|
371 |
-
)
|
372 |
-
|
373 |
-
with antd.Layout(elem_style=layout_style):
|
374 |
-
with antd.Layout.Sider(width="25%",
|
375 |
-
elem_style=sider_style):
|
376 |
-
ms.Text("Sider")
|
377 |
-
with antd.Layout():
|
378 |
-
with antd.Layout.Header(elem_style=header_style):
|
379 |
-
ms.Text("Header")
|
380 |
-
with antd.Layout.Content(elem_style=content_style):
|
381 |
-
text_input = gr.Textbox(label="Enter Text")
|
382 |
-
text_output = gr.Textbox(label="Processed Text")
|
383 |
-
text_button = gr.Button("Process Text")
|
384 |
-
with antd.Layout.Footer(elem_style=footer_style):
|
385 |
-
ms.Text("wtf")
|
386 |
-
|
387 |
-
text_button.click(
|
388 |
-
fn=lambda x: x.upper(), # Example function to convert text to uppercase
|
389 |
-
inputs=text_input,
|
390 |
-
outputs=text_output
|
391 |
)
|
392 |
|
393 |
# Launch the interface
|
|
|
351 |
)
|
352 |
|
353 |
with gr.Tab("🥇 Leaderboard"):
|
354 |
+
gr.Markdown("# AI Generated / Deepfake Detection Models Leaderboard: Soon™")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
355 |
)
|
356 |
|
357 |
# Launch the interface
|