vishnun commited on
Commit
4d24cb5
1 Parent(s): 5c0b1a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ if submit_button:
13
  b_res = bingsearch.get_results(num=5, max_lines=5)
14
  with st.spinner("Pipeline for RAG is running"):
15
  st.text(help(bingsearch.rag_output))
16
- hf_token = str(st.secrets["HF_TOKEN"])
17
- text, text_json = bingsearch.rag_output(b_res, hf_token)
18
 
19
  st.subheader('Updated prompt with semantics search')
20
  st.info(text_json['question'])
 
13
  b_res = bingsearch.get_results(num=5, max_lines=5)
14
  with st.spinner("Pipeline for RAG is running"):
15
  st.text(help(bingsearch.rag_output))
16
+ hf_key = str(st.secrets["HF_TOKEN"])
17
+ text, text_json = bingsearch.rag_output(b_res, hf_key, 15)
18
 
19
  st.subheader('Updated prompt with semantics search')
20
  st.info(text_json['question'])