akdeniz27 commited on
Commit
6ce276e
1 Parent(s): 97c78a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(question)==0:
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())