Update app.py
Browse files
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)
|