Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def ner_predict(text):
|
|
| 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=
|
| 57 |
title="Named Entity Recognition Demo",
|
| 58 |
description="Ứng dụng nhận dạng thực thể sử dụng mô hình BERT fine-tuned trên tập dữ liệu CoNLL-2003.",
|
| 59 |
examples=sample_inputs,
|
|
|
|
| 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 mô hình BERT fine-tuned trên tập dữ liệu CoNLL-2003.",
|
| 59 |
examples=sample_inputs,
|