Spaces:
Running
Running
Quentin Lhoest
commited on
Commit
•
f208d84
1
Parent(s):
5de6474
suggest two letters code for languages
Browse files- tagging_app.py +1 -1
tagging_app.py
CHANGED
@@ -270,7 +270,7 @@ if len(invalid_values) > 0:
|
|
270 |
leftcol.error(invalid_values)
|
271 |
|
272 |
langtags = leftcol.text_area(
|
273 |
-
"What languages are represented in the dataset? expected format is BCP47 tags separated for ';' e.g. 'en
|
274 |
value=";".join(valid_values),
|
275 |
)
|
276 |
state["languages"] = langtags.strip().split(";") if langtags.strip() != "" else []
|
|
|
270 |
leftcol.error(invalid_values)
|
271 |
|
272 |
langtags = leftcol.text_area(
|
273 |
+
"What languages are represented in the dataset? expected format is BCP47 tags separated for ';' e.g. 'en;fr'",
|
274 |
value=";".join(valid_values),
|
275 |
)
|
276 |
state["languages"] = langtags.strip().split(";") if langtags.strip() != "" else []
|