Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ if lang is None:
|
|
| 24 |
found = langcodes.find(langtext)
|
| 25 |
lang = found
|
| 26 |
except LookupError as e:
|
| 27 |
-
st.write(f"
|
| 28 |
lang = None
|
| 29 |
|
| 30 |
|
|
|
|
| 24 |
found = langcodes.find(langtext)
|
| 25 |
lang = found
|
| 26 |
except LookupError as e:
|
| 27 |
+
st.write(f"Unable to look up language code.")
|
| 28 |
lang = None
|
| 29 |
|
| 30 |
|