fungi commited on
Commit
ac93bcc
1 Parent(s): c70f210

fix typo in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ qa_pipe = pipeline('question-answering')
5
  context = st.text_area('provide context')
6
  question = st.text_area('ask your question')
7
 
8
- if text and context:
9
  out = qa_pipe(dict(
10
  question=question,
11
  context=context
 
5
  context = st.text_area('provide context')
6
  question = st.text_area('ask your question')
7
 
8
+ if question and context:
9
  out = qa_pipe(dict(
10
  question=question,
11
  context=context