Tin113 commited on
Commit
91a69e0
·
verified ·
1 Parent(s): f56889b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -67,7 +67,7 @@ def correct_grammar(sentence, model_choice):
67
  return clean_text(tokenizer.decode(outputs[0], skip_special_tokens=True))
68
 
69
  description = """
70
- Demo sửa lỗi ngữ pháp tiếng Việt sử dụng hai model: BARTpho-syllable và ViT5-base.
71
  1. Nhập câu lỗi vào ô bên dưới.
72
  2. Chọn model bạn muốn dùng.
73
  3. Nhấn "Submit" để xem kết quả.
@@ -80,7 +80,7 @@ demo = gr.Interface(
80
  gr.Radio(choices=["BARTpho-syllable", "ViT5-base"], value="ViT5-base", label="Chọn Model")
81
  ],
82
  outputs=gr.Textbox(label="Câu đã được sửa"),
83
- title="Sửa lỗi Ngữ pháp Tiếng Việt",
84
  description=description,
85
  examples=examples
86
  )
 
67
  return clean_text(tokenizer.decode(outputs[0], skip_special_tokens=True))
68
 
69
  description = """
70
+ Demo sửa lỗi chính tả tiếng Việt sử dụng hai model: BARTpho-syllable và ViT5-base.
71
  1. Nhập câu lỗi vào ô bên dưới.
72
  2. Chọn model bạn muốn dùng.
73
  3. Nhấn "Submit" để xem kết quả.
 
80
  gr.Radio(choices=["BARTpho-syllable", "ViT5-base"], value="ViT5-base", label="Chọn Model")
81
  ],
82
  outputs=gr.Textbox(label="Câu đã được sửa"),
83
+ title="Sửa lỗi chính tả Tiếng Việt",
84
  description=description,
85
  examples=examples
86
  )