cdleong commited on
Commit
837728a
·
1 Parent(s): 6b3a968

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -17,12 +17,13 @@ async def get_r12(langtext):
17
  return r
18
 
19
 
20
- results = asession.run(get_r12)
21
- st.write(results)
22
-
23
  # https://huggingface.co/blog/streamlit-spaces
24
  langtext = st.text_input("language lookup using https://github.com/rspeer/langcodes, see also https://r12a.github.io/app-subtags/", "english")
25
 
 
 
 
26
  st.write("Checking whether the tag is valid. That is, the language, script, territory, and variants (if present) are all tags that have meanings assigned by IANA.")
27
 
28
  if langcodes.tag_is_valid(langtext):
 
17
  return r
18
 
19
 
20
+
 
 
21
  # https://huggingface.co/blog/streamlit-spaces
22
  langtext = st.text_input("language lookup using https://github.com/rspeer/langcodes, see also https://r12a.github.io/app-subtags/", "english")
23
 
24
+ results = asession.run(get_r12(langtext))
25
+ st.write(results)
26
+
27
  st.write("Checking whether the tag is valid. That is, the language, script, territory, and variants (if present) are all tags that have meanings assigned by IANA.")
28
 
29
  if langcodes.tag_is_valid(langtext):