QIDNLF commited on
Commit
8a0298c
ยท
verified ยท
1 Parent(s): 08730ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -10
app.py CHANGED
@@ -540,7 +540,6 @@ def execute_unified_search(base_std, base_ver, base_cat, comp_std, comp_ver, com
540
  with gr.Blocks() as demo:
541
  gr.Markdown("# ๐Ÿ“œ Regulation Viewer")
542
 
543
- # [์ˆ˜์ • ์™„๋ฃŒ] ์•„์ฝ”๋””์–ธ์€ ๊นจ๋—ํ•œ Row ์•ˆ์— ์•ˆ์ „ํ•˜๊ฒŒ ๋“ค์–ด๊ฐ”์Šต๋‹ˆ๋‹ค!
544
  with gr.Row():
545
  with gr.Accordion("๐Ÿ“Œ ๊ธฐ์ค€ ๋ฒ•๊ทœ", open=True):
546
  with gr.Column():
@@ -556,16 +555,10 @@ with gr.Blocks() as demo:
556
  comp_version = gr.Dropdown(label="Version", choices=[])
557
  comp_category = gr.Dropdown(label="Category", choices=[])
558
 
 
559
  with gr.Row(elem_id="search_row"):
560
- search_btn = gr.Button("๐Ÿ” ์กฐํšŒ", variant="primary", scale=10) # 10์˜ ๋น„์œจ๋กœ ๋„“๊ฒŒ!
561
- diff_filter_cb = gr.Checkbox(label="๐Ÿ’ก ๋ณ€๊ฒฝ๋œ ๋‚ด์šฉ๋งŒ ๋ณด๊ธฐ", value=False, elem_id="diff_cb_item", container=False, scale=1) # 1์˜ ๋น„์œจ๋กœ ์ข๊ฒŒ!
562
-
563
- # =======================================================
564
- # [์ˆ˜์ • ์™„๋ฃŒ] ์ฒดํฌ๋ฐ•์Šค๋Š” ์•„์ฝ”๋””์–ธ ๋ฐ–์œผ๋กœ ๊บผ๋‚ด์„œ ์กฐํšŒ ๋ฒ„ํŠผ ๋ฐ‘์— ๋ถ™์˜€์Šต๋‹ˆ๋‹ค!
565
- # container=False๋ฅผ ์ฃผ์–ด ํšŒ์ƒ‰ ๋ฐ•์Šค๋„ ์™„๋ฒฝํ•˜๊ฒŒ ๋‚ ๋ ธ์Šต๋‹ˆ๋‹ค.
566
- # =======================================================
567
- with gr.Row(elem_id="diff_toggle_row"):
568
- diff_filter_cb = gr.Checkbox(label="๐Ÿ’ก ๋ณ€๊ฒฝ๋œ ๋‚ด์šฉ๋งŒ ๋ณด๊ธฐ (Diff Only)", value=False, elem_id="diff_cb_item", container=False)
569
 
570
  output_df = gr.Dataframe(wrap=True, interactive=False, datatype="html", max_height=800)
571
 
 
540
  with gr.Blocks() as demo:
541
  gr.Markdown("# ๐Ÿ“œ Regulation Viewer")
542
 
 
543
  with gr.Row():
544
  with gr.Accordion("๐Ÿ“Œ ๊ธฐ์ค€ ๋ฒ•๊ทœ", open=True):
545
  with gr.Column():
 
555
  comp_version = gr.Dropdown(label="Version", choices=[])
556
  comp_category = gr.Dropdown(label="Category", choices=[])
557
 
558
+ # ๐Ÿ’ก [ํ•ต์‹ฌ] ์กฐํšŒ ๋ฒ„ํŠผ๊ณผ ์ฒดํฌ๋ฐ•์Šค๋ฅผ ๋”ฑ 1๋ฒˆ๋งŒ, ํ•œ ์ค„(Row)๋กœ ๊น”๋”ํ•˜๊ฒŒ ๋ฐฐ์น˜!
559
  with gr.Row(elem_id="search_row"):
560
+ search_btn = gr.Button("๐Ÿ” ์กฐํšŒ", variant="primary", scale=10)
561
+ diff_filter_cb = gr.Checkbox(label="๐Ÿ’ก ๋ณ€๊ฒฝ๋œ ๋‚ด์šฉ๋งŒ ๋ณด๊ธฐ", value=False, elem_id="diff_cb_item", container=False, scale=1)
 
 
 
 
 
 
 
562
 
563
  output_df = gr.Dataframe(wrap=True, interactive=False, datatype="html", max_height=800)
564