Commit History

update
a3ed59a

youngtsai commited on

english_group
e9f90d1

youngtsai commited on

feature: add port for docker image
460aa4f
verified

ChenyuRabbitLove commited on

with gr.Tab("中文作文工具", visible=False) as chinese_idea_tab:
5daa6b7

youngtsai commited on

chinese_full_paragraph_tab = gr.update(visible=False)
27122a0

youngtsai commited on

def init_params(request: gr.Request):
ca3ba83

youngtsai commited on

def init_params(text, request: gr.Request):
d772cc2

youngtsai commited on

generate_full_paragraph_correct_grammatical_spelling_errors_button = gr.Button("✨ JUTOR 修訂文法與拼字錯誤", variant="primary")
b80ecf4

youngtsai commited on

generate_full_paragraph_refine_button = gr.Button("JUTOR 段落改善建議", variant="primary")
e96cc10

youngtsai commited on

full_paragraph_refine_output_table = gr.DataFrame(label="段落改善建議", wrap=True, interactive=False)
e6110ca

youngtsai commited on

gr.Markdown("# 中文作文工具")
409c114

youngtsai commited on

gr.Markdown("<span style='color:#4e80ee'>主題</span>")
a50f5f3

youngtsai commited on

gr.Markdown("## 請根據主題句及段落要點/關鍵字,來寫支持句。")
19d579b

youngtsai commited on

text update
42f46a2

youngtsai commited on

topic_input = gr.Textbox(label="自訂主題")
9f6ee91

youngtsai commited on

refine_output_table = gr.DataFrame(label="段落改善建議", wrap=True, interactive=False)
67f304e

youngtsai commited on

gr.Markdown("# Step 8. 段落改善建議")
4f36977

youngtsai commited on

update
2ca3ee1

youngtsai commited on

points_output = gr.Textbox(label="AI 產出要點/關鍵字", visible=True, value=[])
d2e90f4

youngtsai commited on

paragraph_correct_grammatical_spelling_errors_input = gr.Textbox(label="這是你的原始寫作內容,參考 JUTOR 的改正,你可以選擇是否修改:", show_copy_button=True)
731f9ea

youngtsai commited on

supporting_sentences_input = gr.Textbox(label="根據要點/關鍵字來寫支持句")
69c8e68

youngtsai commited on

簡潔重申段落主旨,可以用重述主題句、摘要支持句、回應或評論主題句(例如強調重要性或呼籲採取行動)等方式來寫。
620e583

youngtsai commited on

簡潔重申段落主旨,可以用重述主題句、摘要支持句、回應或評論主題句的方式來寫結論句(例如:強調重要性或呼籲採取行動)等方式來寫
ce5433b

youngtsai commited on

自訂主題
83014cf

youngtsai commited on

exam_history_prompt = f"""
7421597

youngtsai commited on

# with gr.Accordion("參考指引:情境與主題如何搭配呢?", open=False):
8de954e

youngtsai commited on

eng level
f97a7cb

youngtsai commited on

- don't change the text's case in the original text.
d92e8cd

youngtsai commited on

全文分析
6d1e5d6

youngtsai commited on

generate_paragraph_evaluate_button.click(
f7c844a

youngtsai commited on

with gr.Tab("英文考古題寫作練習"):
075e01e

youngtsai commited on

model 4o
07a55ac

youngtsai commited on

with gr.Group():
d585564

youngtsai commited on

model = gr.Radio(["gpt-4-turbo", "gpt-3.5-turbo"], label="Model", value="gpt-4-turbo")
8012b3d

youngtsai commited on

def update_scenario_input(scenario_radio):
48c99b6

youngtsai commited on

topic_input = gr.Textbox(label="選擇合適的主題或是自定義:")
286ad4b

youngtsai commited on

past_exam_dropdown = gr.Radio(label="選擇考古題", choices=past_exam_choices)
751a32a

youngtsai commited on

no css gray
4d29ca2

youngtsai commited on

.accordion-gray {
b9cefee

youngtsai commited on

.accordion-gray {
1961326

youngtsai commited on

background-color: gray;
c8d4167

youngtsai commited on

.accordion-gray {
9007c43

youngtsai commited on

accordion gray
8215656

youngtsai commited on

with gr.Accordion("prompt 提供微調測試", open=False, elem_classes=['accordion-prompts']):
d56bfcf

youngtsai commited on

past_exam_correct_grammatical_spelling_errors_prompt = gr.Textbox(label="Correct Grammatical and Spelling Errors Prompt", value=default_user_correct_grammatical_spelling_errors_prompt, lines= 20)
993b16c

youngtsai commited on

修正錯誤語法
4334ce5

youngtsai commited on

past_exam_dropdown = gr.Dropdown(label="選擇考古題", choices=past_exam_choices)
bc234ab

youngtsai commited on

98 學測
9e96d9e

youngtsai commited on

- if totally no more suggestions, please provide at least 2 suggestions and explain that the paragraph is another possible way to improve.
25ceb1a

youngtsai commited on