Spaces:
Runtime error
Runtime error
Artemis-IA
commited on
Commit
·
f592e0b
1
Parent(s):
a4eb78f
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ state_dict = torch.load('camembertperso.pth', map_location='cpu')
|
|
18 |
camembert_model.load_state_dict(state_dict, strict=False)
|
19 |
tokenizer = CamembertTokenizer.from_pretrained('camembert-base', do_lower_case=True)
|
20 |
|
21 |
-
nlp = spacy.load("fr_core_news_sm
|
22 |
|
23 |
# Text Processing Functions
|
24 |
def clean_text(text):
|
|
|
18 |
camembert_model.load_state_dict(state_dict, strict=False)
|
19 |
tokenizer = CamembertTokenizer.from_pretrained('camembert-base', do_lower_case=True)
|
20 |
|
21 |
+
nlp = spacy.load("fr_core_news_sm")
|
22 |
|
23 |
# Text Processing Functions
|
24 |
def clean_text(text):
|