Spaces:
Build error
Build error
Update app.py
Browse files
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 |
|