seawolf2357 commited on
Commit
4149fe9
ยท
verified ยท
1 Parent(s): f55402b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
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
- # ๋ฒ„ํŠผ๋“ค์„ ๊ฐ€๋กœ๋กœ ๋ฐฐ์น˜ํ•˜๊ธฐ ์œ„ํ•œ 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
- # ํ…œํ”Œ๋ฆฟ ๋ฒ„ํŠผ๋“ค ์ถ”๊ฐ€
766
- with antd.Flex(gap="small", justify="space-between", style={"marginTop": "10px"}):
767
- best_btn = antd.Button("๐Ÿ† ๋ฒ ์ŠคํŠธ ํ…œํ”Œ๋ฆฟ", type="default", size="large")
768
- trending_btn = antd.Button("๐Ÿ”ฅ ํŠธ๋ Œ๋”ฉ ํ…œํ”Œ๋ฆฟ", type="default", size="large")
769
- new_btn = antd.Button("โœจ NEW ํ…œํ”Œ๋ฆฟ", type="default", size="large")
 
 
 
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):