Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,4 +2,6 @@ import streamlit as st
|
|
2 |
from langcodes import *
|
3 |
|
4 |
# https://huggingface.co/blog/streamlit-spaces
|
5 |
-
st.text_area("language code", "en")
|
|
|
|
|
|
2 |
from langcodes import *
|
3 |
|
4 |
# https://huggingface.co/blog/streamlit-spaces
|
5 |
+
langtext = st.text_area("language code", "en")
|
6 |
+
found = langcodes.find(langtext)
|
7 |
+
st.write(found)
|