Camille
commited on
Commit
·
8a66e28
1
Parent(s):
0ba900e
french language added
Browse files
app.py
CHANGED
@@ -21,6 +21,9 @@ if LANGUAGE == "english":
|
|
21 |
elif LANGUAGE == "dutch":
|
22 |
MODEL_PATH = "GroNLP/bert-base-dutch-cased"
|
23 |
ITER_FACTOR = 10 # Faster model
|
|
|
|
|
|
|
24 |
else:
|
25 |
raise NotImplementedError(f"Unsupported language ({LANGUAGE}) expected 'english' or 'dutch'.")
|
26 |
|
|
|
21 |
elif LANGUAGE == "dutch":
|
22 |
MODEL_PATH = "GroNLP/bert-base-dutch-cased"
|
23 |
ITER_FACTOR = 10 # Faster model
|
24 |
+
elif LANGUAGE == "french":
|
25 |
+
MODEL_PATH = "camembert-base"
|
26 |
+
ITER_FACTOR = 5
|
27 |
else:
|
28 |
raise NotImplementedError(f"Unsupported language ({LANGUAGE}) expected 'english' or 'dutch'.")
|
29 |
|