amartyasaran commited on
Commit
114e532
·
1 Parent(s): b46dfbd
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ reader = FARMReader(model_name_or_path="deepset/bert-base-cased-squad2")
39
 
40
  pipeline = ExtractiveQAPipeline(reader=reader, retriever=retriever)
41
 
42
- query = st.input()
43
  # query = "What is the subject matter of the petition in the Sadanand S. Varde case?"
44
  result = pipeline.run(query=query, params={"Retriever": {"top_k": 10}, "Reader": {"top_k": 5}})
45
 
 
39
 
40
  pipeline = ExtractiveQAPipeline(reader=reader, retriever=retriever)
41
 
42
+ query = st.text_input("Enter Question")
43
  # query = "What is the subject matter of the petition in the Sadanand S. Varde case?"
44
  result = pipeline.run(query=query, params={"Retriever": {"top_k": 10}, "Reader": {"top_k": 5}})
45