Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,8 @@ model_list = ['akdeniz27/roberta-base-cuad',
|
|
11 |
st.sidebar.header("Select CUAD Model")
|
12 |
model_checkpoint = st.sidebar.radio("", model_list)
|
13 |
|
|
|
|
|
14 |
st.sidebar.write("Project: https://www.atticusprojectai.org/cuad")
|
15 |
st.sidebar.write("Git Hub: https://github.com/TheAtticusProject/cuad")
|
16 |
st.sidebar.write("CUAD Dataset: https://huggingface.co/datasets/cuad")
|
|
|
11 |
st.sidebar.header("Select CUAD Model")
|
12 |
model_checkpoint = st.sidebar.radio("", model_list)
|
13 |
|
14 |
+
if model_checkpoint == "akdeniz27/deberta-v2-xlarge-cuad": import sentencepiece
|
15 |
+
|
16 |
st.sidebar.write("Project: https://www.atticusprojectai.org/cuad")
|
17 |
st.sidebar.write("Git Hub: https://github.com/TheAtticusProject/cuad")
|
18 |
st.sidebar.write("CUAD Dataset: https://huggingface.co/datasets/cuad")
|