Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ 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 |
with st.spinner("Pipeline for RAG is running"):
|
16 |
text, text_json = bingsearch.rag_output(b_res, hf_token, 15)
|
17 |
|
|
|
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, 15)
|
18 |
|