Flux9665 commited on
Commit
427820b
1 Parent(s): d89508e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from pathlib import Path
6
 
7
 
8
  flair.device = torch.device('cpu')
9
- os.makedirs("Corpora", exist_ok=True)
10
  flair.cache_root = Path(f"Corpora/.flair")
11
  pos_tagger = SequenceTagger.load("qanastek/pos-french-camembert-flair")
12
  del pos_tagger
 
6
 
7
 
8
  flair.device = torch.device('cpu')
9
+ os.makedirs("Corpora/.flair/models/pos-french-camembert-flair", exist_ok=True)
10
  flair.cache_root = Path(f"Corpora/.flair")
11
  pos_tagger = SequenceTagger.load("qanastek/pos-french-camembert-flair")
12
  del pos_tagger