Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
cdleong
/
langcode-search
like
6
Running
App
Files
Files
xet
Community
1
Fetching metadata from the HF Docker repository...
6570b48
langcode-search
/
app.py
cdleong
Update app.py
6570b48
almost 4 years ago
raw
Copy download link
history
blame
183 Bytes
import
streamlit
as
st
import
langcodes
# https://huggingface.co/blog/streamlit-spaces
langtext = st.text_area(
"language code"
,
"en"
)
found = langcodes.find(langtext)
st.write(found)