Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -756,17 +756,20 @@ with gr.Blocks(css_paths="app.css",theme=theme) as demo:
|
|
| 756 |
placeholder=random.choice(DEMO_LIST)['description']
|
| 757 |
)
|
| 758 |
|
| 759 |
-
|
| 760 |
with antd.Flex(gap="small", justify="space-between"):
|
| 761 |
btn = antd.Button("Send", type="primary", size="large")
|
| 762 |
execute_btn = antd.Button("Code ์คํ", type="default", size="large")
|
| 763 |
clear_btn = antd.Button("Clear", type="default", size="large")
|
| 764 |
|
| 765 |
-
|
| 766 |
-
with
|
| 767 |
-
|
| 768 |
-
|
| 769 |
-
|
|
|
|
|
|
|
|
|
|
| 770 |
|
| 771 |
# ์ฐ์ธก ํจ๋
|
| 772 |
with antd.Col(span=24, md=16):
|
|
|
|
| 756 |
placeholder=random.choice(DEMO_LIST)['description']
|
| 757 |
)
|
| 758 |
|
| 759 |
+
# ๋ฒํผ๋ค์ ๊ฐ๋ก๋ก ๋ฐฐ์นํ๊ธฐ ์ํ Flex ์ปจํ
์ด๋๋ค
|
| 760 |
with antd.Flex(gap="small", justify="space-between"):
|
| 761 |
btn = antd.Button("Send", type="primary", size="large")
|
| 762 |
execute_btn = antd.Button("Code ์คํ", type="default", size="large")
|
| 763 |
clear_btn = antd.Button("Clear", type="default", size="large")
|
| 764 |
|
| 765 |
+
# ํ
ํ๋ฆฟ ๋ฒํผ๋ค์ ์ํ ์๋ก์ด Flex ์ปจํ
์ด๋
|
| 766 |
+
with gr.HTML("<div style='margin-top: 10px;'></div>"): # ๊ฐ๊ฒฉ ์ถ๊ฐ
|
| 767 |
+
with antd.Flex(gap="small", justify="space-between"):
|
| 768 |
+
best_btn = antd.Button("๐ ๋ฒ ์คํธ ํ
ํ๋ฆฟ", type="default", size="large")
|
| 769 |
+
trending_btn = antd.Button("๐ฅ ํธ๋ ๋ฉ ํ
ํ๋ฆฟ", type="default", size="large")
|
| 770 |
+
new_btn = antd.Button("โจ NEW ํ
ํ๋ฆฟ", type="default", size="large")
|
| 771 |
+
|
| 772 |
+
|
| 773 |
|
| 774 |
# ์ฐ์ธก ํจ๋
|
| 775 |
with antd.Col(span=24, md=16):
|