ajanz commited on
Commit
d17d547
·
1 Parent(s): 442d155

attempting resolution of authentication issue

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def load_index(index_data: str = "clarin-knext/entity-linking-index"):
32
 
33
 
34
  def load_model(model_name: str = "clarin-knext/entity-linking-encoder"):
35
- pipe = pipeline("feature-extraction", model=model_name, token=auth_token)
36
  return pipe
37
 
38
 
 
32
 
33
 
34
  def load_model(model_name: str = "clarin-knext/entity-linking-encoder"):
35
+ pipe = pipeline("feature-extraction", model=model_name, use_auth_token=auth_token)
36
  return pipe
37
 
38