From 96201648842d453c95b3314d149fd7c30e962dae Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 10 Sep 2024 00:46:43 -0700 Subject: [PATCH] Update locationdata.py enhance for LLM --- modules/locationdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index 259b700..6717b7f 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -28,7 +28,7 @@ def where_am_i(lat=0, lon=0, short=False): location = geolocator.reverse(lat + ", " + lon) address = location.raw['address'] address_components = ['city', 'state', 'county', 'country'] - whereIam = f"City: {address.get('city', '')} State: {address.get('state', '')} County: {address.get('county', '')} Country: {address.get('country', '')}" + whereIam = f"City: {address.get('city', '')}. State: {address.get('state', '')}. County: {address.get('county', '')}. Country: {address.get('country', '')}." return whereIam if float(lat) == latitudeValue and float(lon) == longitudeValue: