Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def geolocate_text_byt5(text):
|
|
75 |
return lat, lon
|
76 |
|
77 |
|
78 |
-
model = ByT5ForTextGeotagging.from_pretrained("yachay/byt5-geotagging-es",
|
79 |
|
80 |
#text = "¡Barcelona es increíble! #VacacionesEnEspaña"
|
81 |
|
|
|
75 |
return lat, lon
|
76 |
|
77 |
|
78 |
+
model = ByT5ForTextGeotagging.from_pretrained("yachay/byt5-geotagging-es", token="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")
|
79 |
|
80 |
#text = "¡Barcelona es increíble! #VacacionesEnEspaña"
|
81 |
|