victorknox commited on
Commit
5fc0c2a
·
1 Parent(s): f15b059

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ qa_pl = pipeline('question-answering', model=model_name, tokenizer=model_name, d
17
  #predictions = []
18
 
19
  # batches might be faster
20
- context = st.text_area('Gib context')
21
- question = st.text_area('Gib question')
22
 
23
  if context and question:
24
  result = qa_pl(context=ctx, question=q)
 
17
  #predictions = []
18
 
19
  # batches might be faster
20
+ ctx = st.text_area('Gib context')
21
+ q = st.text_area('Gib question')
22
 
23
  if context and question:
24
  result = qa_pl(context=ctx, question=q)