devve1 commited on
Commit
076545b
1 Parent(s): 8afc070

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -249,7 +249,7 @@ def main(query: str, client: QdrantClient, collection_name: str, llm, dense_mode
249
  if st.session_state.documents_only:
250
  prompt = idk(query)
251
  answer = gen_text(prompt, max_tokens=128, sampling_params=SamplingParams(temperature=0.6, top_p=0.9))
252
- print(f'TYPE: {type(answer)})
253
  else:
254
  prompt = self_knowledge(query)
255
  answer = gen_text(prompt, max_tokens=300, sampling_params=SamplingParams(temperature=0.6, top_p=0.9))
 
249
  if st.session_state.documents_only:
250
  prompt = idk(query)
251
  answer = gen_text(prompt, max_tokens=128, sampling_params=SamplingParams(temperature=0.6, top_p=0.9))
252
+ print(f'TYPE: {type(answer)}')
253
  else:
254
  prompt = self_knowledge(query)
255
  answer = gen_text(prompt, max_tokens=300, sampling_params=SamplingParams(temperature=0.6, top_p=0.9))