Spaces:
Build error
Build error
Switch models
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ ITER_FACTOR = 5
|
|
21 |
|
22 |
LANGUAGE = st.sidebar.radio("Language", ["english", "dutch"],0)
|
23 |
if LANGUAGE == "english":
|
24 |
-
MODEL_PATH = "bert-large-cased-whole-word-masking
|
25 |
elif LANGUAGE == "dutch":
|
26 |
MODEL_PATH = "GroNLP/bert-base-dutch-cased"
|
27 |
else:
|
|
|
21 |
|
22 |
LANGUAGE = st.sidebar.radio("Language", ["english", "dutch"],0)
|
23 |
if LANGUAGE == "english":
|
24 |
+
MODEL_PATH = "bert-large-cased-whole-word-masking"
|
25 |
elif LANGUAGE == "dutch":
|
26 |
MODEL_PATH = "GroNLP/bert-base-dutch-cased"
|
27 |
else:
|