yachay commited on
Commit
fe60167
·
1 Parent(s): 889276b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -76,6 +76,7 @@ def geolocate_text_byt5(text):
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
 
 
76
 
77
 
78
  model = ByT5ForTextGeotagging.from_pretrained("yachay/byt5-geotagging-es", token="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")
79
+ byt5_tokenizer = AutoTokenizer.from_pretrained("yachay/byt5-geotagging-es", token="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")
80
 
81
  #text = "¡Barcelona es increíble! #VacacionesEnEspaña"
82