nguyennghia0902 commited on
Commit
0f1e0e2
1 Parent(s): b1af872

Update SampleQA.py

Browse files
Files changed (1) hide show
  1. SampleQA.py +1 -1
SampleQA.py CHANGED
@@ -59,7 +59,7 @@ def main():
59
  # Create a prediction button
60
  if st.button("Predict"):
61
  prediction = ""
62
- prediction = predict(sampleQ, sampleC)
63
  st.success(prediction)
64
 
65
  if __name__ == "__main__":
 
59
  # Create a prediction button
60
  if st.button("Predict"):
61
  prediction = ""
62
+ prediction = predict(question, text)
63
  st.success(prediction)
64
 
65
  if __name__ == "__main__":