ccdv commited on
Commit
09a6d6c
1 Parent(s): 500b706
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ LAISSONS les dépens à la charge de l'appelante.
81
 
82
  La greffière, Le magistrat chargé de la mise en état,
83
  """
84
- auth_token = os.environ.get("TOKEN_FROM_SECRET")
85
  path = "cassandra-themis/lsg-bart-base-art700-16384-v1"
86
 
87
  model = LSGMBartForConditionalGeneration.from_pretrained(path, use_auth_token=auth_token)
 
81
 
82
  La greffière, Le magistrat chargé de la mise en état,
83
  """
84
+ auth_token = os.environ.get("HF_SPACE_TOKEN")
85
  path = "cassandra-themis/lsg-bart-base-art700-16384-v1"
86
 
87
  model = LSGMBartForConditionalGeneration.from_pretrained(path, use_auth_token=auth_token)