Spaces:
Runtime error
Runtime error
TOKEN
Browse files
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("
|
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)
|