Spaces:
Runtime error
Runtime error
Joshua1808
commited on
Commit
•
ba85806
1
Parent(s):
9ee7fd1
Update app.py
Browse files
app.py
CHANGED
@@ -136,7 +136,7 @@ def tweets_localidad(buscar_localidad):
|
|
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 =
|
140 |
result = []
|
141 |
for tweet in tweets:
|
142 |
if (tweet.full_text.startswith('RT')):
|
|
|
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 = 100, tweet_mode="extended")
|
140 |
result = []
|
141 |
for tweet in tweets:
|
142 |
if (tweet.full_text.startswith('RT')):
|