vishnun commited on
Commit
b29a31b
1 Parent(s): 34e4659

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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')