mr4 commited on
Commit
d72eea0
·
verified ·
1 Parent(s): 70f43b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -52,10 +52,10 @@ def ner_predict(text):
52
  # Tạo giao diện
53
  demo = gr.Interface(
54
  fn=ner_predict,
55
- inputs=gr.Textbox(lines=5, placeholder="Nhập văn bản tiếng Anh..."),
56
  outputs=gr.JSON(),
57
- title="Named Entity Recognition Demo",
58
- description="Ứng dụng nhận dạng thực thể sử dụng hình BERT fine-tuned trên tập dữ liệu CoNLL-2003.",
59
  examples=sample_inputs,
60
  )
61
 
 
52
  # Tạo giao diện
53
  demo = gr.Interface(
54
  fn=ner_predict,
55
+ inputs=gr.Textbox(lines=5, placeholder="Nhập văn bản tiếng Việt..."),
56
  outputs=gr.JSON(),
57
+ title="Trích xuất thông tin cá nhân",
58
+ description="Ứng dụng trích xuất thông tin nhân trong đoạn văn bản.",
59
  examples=sample_inputs,
60
  )
61