youngtsai commited on
Commit
5226d04
·
1 Parent(s): 12037a8

- When explaining, use Traditional Chinese (Taiwan, 繁體中文) for clarity. But others in English.

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -374,7 +374,7 @@ with gr.Blocks() as demo:
374
  """
375
  user_generate_conclusion_sentence_prompt = gr.Textbox(label="Conclusion Sentence Prompt", value=default_generate_conclusion_sentence_prompt)
376
  generate_conclusion_sentence_button = gr.Button("AI Generate Conclusion Sentence")
377
- conclusion_sentence_output = gr.Textbox(label="AI Generated Conclusion Sentence 結論句")
378
  conclusion_sentence_input = gr.Textbox(label="Conclusion Sentence")
379
 
380
  gr.Markdown("## 7. Paragraph Integration and Revision 段落確認與修訂")
@@ -439,9 +439,9 @@ with gr.Blocks() as demo:
439
  I'm aiming to improve my writing.
440
  Please assist me by "Correcting Grammatical and Spelling Errors" in the provided paragraph.
441
  For every correction you make, I'd like an "Explanation" to understand the reasoning behind it.
442
- - Paragraph for Correction: [paragraph_ai_modification(split by 標點符號)]
443
  - The sentence to remain unchanged: [sentence_to_remain_unchanged]
444
- - When explaining, use Traditional Chinese (Taiwan, 繁體中文) for clarity.
445
  - Make sure any revised vocabulary aligns with the eng level.
446
  - Guidelines for Length and Complexity: Please keep explanations concise and straightforward,
447
  avoiding overly technical language.
 
374
  """
375
  user_generate_conclusion_sentence_prompt = gr.Textbox(label="Conclusion Sentence Prompt", value=default_generate_conclusion_sentence_prompt)
376
  generate_conclusion_sentence_button = gr.Button("AI Generate Conclusion Sentence")
377
+ conclusion_sentence_output = gr.Textbox(label="AI Generated Conclusion Sentence 結論句", show_copy_button=True)
378
  conclusion_sentence_input = gr.Textbox(label="Conclusion Sentence")
379
 
380
  gr.Markdown("## 7. Paragraph Integration and Revision 段落確認與修訂")
 
439
  I'm aiming to improve my writing.
440
  Please assist me by "Correcting Grammatical and Spelling Errors" in the provided paragraph.
441
  For every correction you make, I'd like an "Explanation" to understand the reasoning behind it.
442
+ - Paragraph for Correction: [paragraph_ai_modification(split by punctuation mark)]
443
  - The sentence to remain unchanged: [sentence_to_remain_unchanged]
444
+ - When explaining, use Traditional Chinese (Taiwan, 繁體中文) for clarity. But others in English.
445
  - Make sure any revised vocabulary aligns with the eng level.
446
  - Guidelines for Length and Complexity: Please keep explanations concise and straightforward,
447
  avoiding overly technical language.