Spaces:
Build error
Build error
Switch to GroNLP
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ LANGUAGE = st.sidebar.radio("Language", ["english", "dutch"],0)
|
|
23 |
if LANGUAGE == "english":
|
24 |
MODEL_PATH = "bert-large-cased-whole-word-masking-finetuned-squad"
|
25 |
elif LANGUAGE == "dutch":
|
26 |
-
MODEL_PATH = "bert-base-dutch-cased"
|
27 |
else:
|
28 |
raise NotImplementedError(f"Unsupported language ({LANGUAGE}) expected 'english' or 'dutch'.")
|
29 |
|
|
|
23 |
if LANGUAGE == "english":
|
24 |
MODEL_PATH = "bert-large-cased-whole-word-masking-finetuned-squad"
|
25 |
elif LANGUAGE == "dutch":
|
26 |
+
MODEL_PATH = "GroNLP/bert-base-dutch-cased"
|
27 |
else:
|
28 |
raise NotImplementedError(f"Unsupported language ({LANGUAGE}) expected 'english' or 'dutch'.")
|
29 |
|