Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ else:
|
|
| 64 |
contract = st.text_area("Input New Contract", "", height=256)
|
| 65 |
|
| 66 |
Run_Button = st.button("Run", key=None)
|
| 67 |
-
if Run_Button == True and not len(contract)==0 and not len(
|
| 68 |
|
| 69 |
prediction = run_prediction(question_set, contract, 'akdeniz27/roberta-base-cuad')
|
| 70 |
st.write("Answer: " + prediction.strip())
|
|
|
|
| 64 |
contract = st.text_area("Input New Contract", "", height=256)
|
| 65 |
|
| 66 |
Run_Button = st.button("Run", key=None)
|
| 67 |
+
if Run_Button == True and not len(contract)==0 and not len(question_set)==0:
|
| 68 |
|
| 69 |
prediction = run_prediction(question_set, contract, 'akdeniz27/roberta-base-cuad')
|
| 70 |
st.write("Answer: " + prediction.strip())
|