langcode-search / app.py
cdleong's picture
Update app.py
6570b48
raw
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)