dev-strender commited on
Commit
43bd06b
·
1 Parent(s): 5fe5b65

ui: surface v24 tab first (default), v16 legacy second

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -43,20 +43,20 @@ with gr.Blocks(title="Chosun 교정교열 데모") as demo:
43
  gr.Markdown("solar-pro3 기반 교정 결과를 확인하고 피드백을 남겨주세요.")
44
 
45
  with gr.Tabs():
46
- with gr.Tab("v16 (legacy · 260408)"):
47
  build_feedback_tab(
48
  client=client,
49
  vocabulary=vocabulary,
50
- pipeline_config=("260408_v16", "solar-pro3", _v16_prompt),
51
- elem_id_prefix="v16",
52
  )
53
 
54
- with gr.Tab("v24 (new · 260429)"):
55
  build_feedback_tab(
56
  client=client,
57
  vocabulary=vocabulary,
58
- pipeline_config=("260429_v24", "solar-pro3", _v24_prompt),
59
- elem_id_prefix="v24",
60
  )
61
 
62
  _SHORTCUT_JS = """
 
43
  gr.Markdown("solar-pro3 기반 교정 결과를 확인하고 피드백을 남겨주세요.")
44
 
45
  with gr.Tabs():
46
+ with gr.Tab("v24 (new · 260429)"):
47
  build_feedback_tab(
48
  client=client,
49
  vocabulary=vocabulary,
50
+ pipeline_config=("260429_v24", "solar-pro3", _v24_prompt),
51
+ elem_id_prefix="v24",
52
  )
53
 
54
+ with gr.Tab("v16 (legacy · 260408)"):
55
  build_feedback_tab(
56
  client=client,
57
  vocabulary=vocabulary,
58
+ pipeline_config=("260408_v16", "solar-pro3", _v16_prompt),
59
+ elem_id_prefix="v16",
60
  )
61
 
62
  _SHORTCUT_JS = """