Spaces:
Running
Running
Update standardize_location.py
Browse files- standardize_location.py +1 -1
standardize_location.py
CHANGED
@@ -85,7 +85,7 @@ def smart_country_lookup(user_input):
|
|
85 |
return "Not found"
|
86 |
except:
|
87 |
country = model.get_country_from_text(user_input)
|
88 |
-
if country !="unknown":
|
89 |
return country
|
90 |
else:
|
91 |
return "Not found"
|
|
|
85 |
return "Not found"
|
86 |
except:
|
87 |
country = model.get_country_from_text(user_input)
|
88 |
+
if country.lower() !="unknown":
|
89 |
return country
|
90 |
else:
|
91 |
return "Not found"
|