Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -129,10 +129,10 @@ contract = contracts[0]
|
|
129 |
st.header("π Question Answering in Contract Understanding Atticus Dataset (CUAD)")
|
130 |
st.image("contract_review.png")
|
131 |
|
132 |
-
selected_question = st.selectbox('Choose one of the queries from the CUAD dataset or write a legal contract and see if the model can answer correctly: ', questions)
|
133 |
|
134 |
question_set = [questions[0], selected_question]
|
135 |
-
contract_type = st.radio("Select Contract", ("
|
136 |
|
137 |
if contract_type == "Sample Contract":
|
138 |
sample_contract_num = st.slider("Select Sample Contract #")
|
|
|
129 |
st.header("π Question Answering in Contract Understanding Atticus Dataset (CUAD)")
|
130 |
st.image("contract_review.png")
|
131 |
|
132 |
+
selected_question = st.selectbox('π Choose one of the queries from the CUAD dataset or π write a legal contract and see if the model can answer correctly: ', questions)
|
133 |
|
134 |
question_set = [questions[0], selected_question]
|
135 |
+
contract_type = st.radio("Select Contract", ("Sample Contract", "New Contract"))
|
136 |
|
137 |
if contract_type == "Sample Contract":
|
138 |
sample_contract_num = st.slider("Select Sample Contract #")
|