cdleong commited on
Commit
3661574
1 Parent(s): 293b978

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -36,6 +36,7 @@ if lang is None:
36
  lang = found
37
  st.write(f"* Natural language search found the following BCP-47 tag: {lang}")
38
  except LookupError as e:
 
39
  st.write(f"Unable to look up language code. But all hope is not lost...")
40
  st.write(f"* You can also try https://r12a.github.io/app-subtags/")
41
  st.write(f"* Or possibly https://glottolog.org/glottolog?search={langtext}")
 
36
  lang = found
37
  st.write(f"* Natural language search found the following BCP-47 tag: {lang}")
38
  except LookupError as e:
39
+ st.write("## Result: failure!")
40
  st.write(f"Unable to look up language code. But all hope is not lost...")
41
  st.write(f"* You can also try https://r12a.github.io/app-subtags/")
42
  st.write(f"* Or possibly https://glottolog.org/glottolog?search={langtext}")