Kelvinhjk commited on
Commit
84a2bc0
·
1 Parent(s): fa9ebfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ elif selected == "Bert finetuned squad":
94
  if text1:
95
  # Fed in the question to the model
96
  ans1, score1 = QnAfunction(text1, question_answerer1)
97
- if score > 0.5:
98
  st.write("Answer: ", ans1)
99
  st.write("Score: ", score1)
100
  else:
 
94
  if text1:
95
  # Fed in the question to the model
96
  ans1, score1 = QnAfunction(text1, question_answerer1)
97
+ if score1 > 0.5:
98
  st.write("Answer: ", ans1)
99
  st.write("Score: ", score1)
100
  else: