Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ if submit_button:
|
|
14 |
b_res = bingsearch.get_results(num=5, max_lines=3)
|
15 |
st.text(b_res)
|
16 |
with st.spinner("Pipeline for RAG is running"):
|
17 |
-
text, text_json = bingsearch.rag_output(b_res, hf_token, 15)
|
18 |
|
19 |
st.subheader('Updated prompt with semantics search')
|
20 |
st.info(text_json['question'])
|
|
|
14 |
b_res = bingsearch.get_results(num=5, max_lines=3)
|
15 |
st.text(b_res)
|
16 |
with st.spinner("Pipeline for RAG is running"):
|
17 |
+
text, text_json = bingsearch.rag_output(b_res, hf_token, n_iters=15)
|
18 |
|
19 |
st.subheader('Updated prompt with semantics search')
|
20 |
st.info(text_json['question'])
|