Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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}")
|