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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -141,9 +141,11 @@ if st.button("Get AI Insights") and website_url:
141
 
142
  # AI Benefits Analysis
143
  st.subheader("💬 AI Benefits Analysis")
 
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
 
 
141
 
142
  # AI Benefits Analysis
143
  st.subheader("💬 AI Benefits Analysis")
144
+ print("fixed_question :")
145
  print(fixed_question)
146
  chain = load_qa_chain(ChatOpenAI(model="gpt-4o"), chain_type="stuff")
147
  docs = docsearch.similarity_search(fixed_question)
148
+ print("docs :")
149
  print(docs)
150
  response = chain.run(input_documents=docs, question=fixed_question)
151