Spaces:
Running
Running
generate_full_paragraph_correct_grammatical_spelling_errors_button = gr.Button("✨ JUTOR 修訂文法與拼字錯誤", variant="primary")
Browse files
app.py
CHANGED
@@ -1420,7 +1420,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.blue, secondary
|
|
1420 |
full_paragraph_input = gr.Textbox(label="輸入段落全文", lines=5)
|
1421 |
with gr.Column():
|
1422 |
with gr.Row():
|
1423 |
-
full_paragraph_evaluate_button = gr.Button("JUTOR 段落全文分析", variant="primary")
|
1424 |
with gr.Row():
|
1425 |
full_paragraph_evaluate_output = gr.Dataframe(label="段落全文分析", wrap=True, column_widths=[35, 15, 50], interactive=False)
|
1426 |
|
@@ -1431,7 +1431,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.blue, secondary
|
|
1431 |
with gr.Column():
|
1432 |
full_paragraph_correct_grammatical_spelling_errors_input = gr.Textbox(label="這是你的原始寫作內容,參考 JUTOR 的建議,你可以選擇是否修改:")
|
1433 |
with gr.Column():
|
1434 |
-
generate_full_paragraph_correct_grammatical_spelling_errors_button = gr.Button("JUTOR 修訂文法與拼字錯誤", variant="primary")
|
1435 |
full_paragraph_correct_grammatical_spelling_errors_output_table = gr.Dataframe(label="修訂文法與拼字錯誤", interactive=False, column_widths=[30, 30, 40])
|
1436 |
revised_full_paragraph_output = gr.Textbox(label="Revised Paragraph", show_copy_button=True, visible=False)
|
1437 |
gr.Markdown("## 修訂結果")
|
@@ -1444,7 +1444,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue=gr.themes.colors.blue, secondary
|
|
1444 |
with gr.Column():
|
1445 |
full_paragraph_refine_input = gr.Textbox(label="這是你的原始寫作內容,參考 JUTOR 的建議,你可以選擇是否修改:", show_copy_button=True)
|
1446 |
with gr.Column():
|
1447 |
-
generate_full_paragraph_refine_button = gr.Button("JUTOR 段落改善建議", variant="primary")
|
1448 |
full_paragraph_refine_output_table = gr.DataFrame(label="段落改善建議", wrap=True, interactive=False)
|
1449 |
full_paragraph_refine_output = gr.HTML(label="修改建議", visible=False)
|
1450 |
gr.Markdown("## 修改結果")
|
|
|
1420 |
full_paragraph_input = gr.Textbox(label="輸入段落全文", lines=5)
|
1421 |
with gr.Column():
|
1422 |
with gr.Row():
|
1423 |
+
full_paragraph_evaluate_button = gr.Button("✨ JUTOR 段落全文分析", variant="primary")
|
1424 |
with gr.Row():
|
1425 |
full_paragraph_evaluate_output = gr.Dataframe(label="段落全文分析", wrap=True, column_widths=[35, 15, 50], interactive=False)
|
1426 |
|
|
|
1431 |
with gr.Column():
|
1432 |
full_paragraph_correct_grammatical_spelling_errors_input = gr.Textbox(label="這是你的原始寫作內容,參考 JUTOR 的建議,你可以選擇是否修改:")
|
1433 |
with gr.Column():
|
1434 |
+
generate_full_paragraph_correct_grammatical_spelling_errors_button = gr.Button("✨ JUTOR 修訂文法與拼字錯誤", variant="primary")
|
1435 |
full_paragraph_correct_grammatical_spelling_errors_output_table = gr.Dataframe(label="修訂文法與拼字錯誤", interactive=False, column_widths=[30, 30, 40])
|
1436 |
revised_full_paragraph_output = gr.Textbox(label="Revised Paragraph", show_copy_button=True, visible=False)
|
1437 |
gr.Markdown("## 修訂結果")
|
|
|
1444 |
with gr.Column():
|
1445 |
full_paragraph_refine_input = gr.Textbox(label="這是你的原始寫作內容,參考 JUTOR 的建議,你可以選擇是否修改:", show_copy_button=True)
|
1446 |
with gr.Column():
|
1447 |
+
generate_full_paragraph_refine_button = gr.Button("✨ JUTOR 段落改善建議", variant="primary")
|
1448 |
full_paragraph_refine_output_table = gr.DataFrame(label="段落改善建議", wrap=True, interactive=False)
|
1449 |
full_paragraph_refine_output = gr.HTML(label="修改建議", visible=False)
|
1450 |
gr.Markdown("## 修改結果")
|