Joshua1808 commited on
Commit
f760d09
·
1 Parent(s): 34030e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -135,7 +135,7 @@ def tweets_localidad(buscar_localidad):
135
  try:
136
  geolocator = Nominatim(user_agent="nombre_del_usuario")
137
  location = geolocator.geocode(buscar_localidad)
138
- radius = "50km"
139
  tweets = api.search_tweets(q="",lang="es",geocode=f"{location.latitude},{location.longitude},{radius}", count = 1000, tweet_mode="extended")
140
  result = []
141
  for tweet in tweets:
 
135
  try:
136
  geolocator = Nominatim(user_agent="nombre_del_usuario")
137
  location = geolocator.geocode(buscar_localidad)
138
+ radius = "15km"
139
  tweets = api.search_tweets(q="",lang="es",geocode=f"{location.latitude},{location.longitude},{radius}", count = 1000, tweet_mode="extended")
140
  result = []
141
  for tweet in tweets: