GiantAnalytics commited on
Commit
ec110ce
·
verified ·
1 Parent(s): a350066

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -144,6 +144,7 @@ if st.button("Get AI Insights") and website_url:
144
  print(fixed_question)
145
  chain = load_qa_chain(ChatOpenAI(model="gpt-4o"), chain_type="stuff")
146
  docs = docsearch.similarity_search(fixed_question)
 
147
  response = chain.run(input_documents=docs, question=fixed_question)
148
 
149
  st.write("**AI Insights:**", response)
 
144
  print(fixed_question)
145
  chain = load_qa_chain(ChatOpenAI(model="gpt-4o"), chain_type="stuff")
146
  docs = docsearch.similarity_search(fixed_question)
147
+ print(docs)
148
  response = chain.run(input_documents=docs, question=fixed_question)
149
 
150
  st.write("**AI Insights:**", response)