victorknox commited on
Commit
81f9156
1 Parent(s): 4fc7dd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ if ctx:
18
  # 'context': 'The option to convert models between FARM and transformers gives freedom to the user and let people easily switch between frameworks.'
19
  #}
20
  res = nlp(context=ctx, question=q)
21
- st.json(res["answer"])
22
 
23
  #from transformers import pipeline
24
 
 
18
  # 'context': 'The option to convert models between FARM and transformers gives freedom to the user and let people easily switch between frameworks.'
19
  #}
20
  res = nlp(context=ctx, question=q)
21
+ st.json(res)
22
 
23
  #from transformers import pipeline
24