akdeniz27 commited on
Commit
e579251
1 Parent(s): 21706af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ Run_Button = st.button("Run", key=None)
78
  if Run_Button == True:
79
 
80
  qna_pipeline = setModel(model_checkpoint)
81
- output = qna_pipeline(question=selected_question, context=selected_context)
82
 
83
  st.header("Answer")
84
  st.write(output)
 
78
  if Run_Button == True:
79
 
80
  qna_pipeline = setModel(model_checkpoint)
81
+ output = qna_pipeline(question=selected_question, context=selected_context, token=HF_TOKEN)
82
 
83
  st.header("Answer")
84
  st.write(output)