Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from requests_html import HTMLSession
|
|
4 |
import urllib
|
5 |
import requests
|
6 |
|
7 |
-
|
8 |
st.write("# Language code/tag search")
|
9 |
st.write("Fed up with language tag confusion? Here's your one-stop shop!")
|
10 |
st.write("Try typing your language below! Accepts either codes like `eng`/`en`, or full names like `English`, and we will use the [langcodes](https://github.com/rspeer/langcodes) library to figure out the correct modern BCP-47 code according to [official W3 Guidelines](https://www.w3.org/International/questions/qa-choosing-language-tags)")
|
|
|
4 |
import urllib
|
5 |
import requests
|
6 |
|
7 |
+
# TODO: add in some nice things from https://docs.streamlit.io/library/cheatsheet like error codes and status messages.
|
8 |
st.write("# Language code/tag search")
|
9 |
st.write("Fed up with language tag confusion? Here's your one-stop shop!")
|
10 |
st.write("Try typing your language below! Accepts either codes like `eng`/`en`, or full names like `English`, and we will use the [langcodes](https://github.com/rspeer/langcodes) library to figure out the correct modern BCP-47 code according to [official W3 Guidelines](https://www.w3.org/International/questions/qa-choosing-language-tags)")
|