Update app.py
Browse files
app.py
CHANGED
|
@@ -94,6 +94,7 @@ demo = gr.Interface(
|
|
| 94 |
title="π Language Detection",
|
| 95 |
description="Detects the language of a given text using a fine-tuned BERT model. Returns the top-k most probable languages.",
|
| 96 |
examples=[[sent, 5] for sent in sentences],
|
|
|
|
| 97 |
)
|
| 98 |
|
| 99 |
demo.launch()
|
|
|
|
| 94 |
title="π Language Detection",
|
| 95 |
description="Detects the language of a given text using a fine-tuned BERT model. Returns the top-k most probable languages.",
|
| 96 |
examples=[[sent, 5] for sent in sentences],
|
| 97 |
+
flagging_mode="manual"
|
| 98 |
)
|
| 99 |
|
| 100 |
demo.launch()
|