Spaces:
Running
Running
change tkn read
Browse files
app.py
CHANGED
@@ -159,7 +159,7 @@ with col1:
|
|
159 |
st.title(ui_text[lang]["title"])
|
160 |
|
161 |
# Initialization for German Legal NER
|
162 |
-
tkn =
|
163 |
tokenizer = AutoTokenizer.from_pretrained("harshildarji/JuraBERT", use_auth_token=tkn)
|
164 |
model = AutoModelForTokenClassification.from_pretrained(
|
165 |
"harshildarji/JuraBERT", use_auth_token=tkn
|
|
|
159 |
st.title(ui_text[lang]["title"])
|
160 |
|
161 |
# Initialization for German Legal NER
|
162 |
+
tkn = os.getenv("tkn")
|
163 |
tokenizer = AutoTokenizer.from_pretrained("harshildarji/JuraBERT", use_auth_token=tkn)
|
164 |
model = AutoModelForTokenClassification.from_pretrained(
|
165 |
"harshildarji/JuraBERT", use_auth_token=tkn
|