Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ hf_token = str(st.secrets["HF_TOKEN"])
|
|
12 |
if submit_button:
|
13 |
bingsearch = BingSearch(query)
|
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')
|
|
|
12 |
if submit_button:
|
13 |
bingsearch = BingSearch(query)
|
14 |
b_res = bingsearch.get_results(num=5, max_lines=3)
|
|
|
15 |
with st.spinner("Pipeline for RAG is running"):
|
16 |
+
st.text(help(bingsearch.rag_output))
|
17 |
text, text_json = bingsearch.rag_output(b_res, hf_token, n_iters=15)
|
18 |
|
19 |
st.subheader('Updated prompt with semantics search')
|