Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,10 +76,6 @@ if uploaded_file:
|
|
| 76 |
doc = Document(page_content=content)
|
| 77 |
documents.append(doc)
|
| 78 |
|
| 79 |
-
# ✅ Debugging: Display a sample processed document
|
| 80 |
-
if documents:
|
| 81 |
-
st.write("Sample processed document (LangChain):")
|
| 82 |
-
st.text(documents[0].page_content)
|
| 83 |
|
| 84 |
# ✅ Create FAISS VectorStore with Correct Dimensions
|
| 85 |
st.write(f"✅ Initializing FAISS with dimension: {faiss_dimension}")
|
|
|
|
| 76 |
doc = Document(page_content=content)
|
| 77 |
documents.append(doc)
|
| 78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
|
| 80 |
# ✅ Create FAISS VectorStore with Correct Dimensions
|
| 81 |
st.write(f"✅ Initializing FAISS with dimension: {faiss_dimension}")
|