Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,10 +73,6 @@ if uploaded_file:
|
|
| 73 |
doc = Document(page_content=content)
|
| 74 |
documents.append(doc)
|
| 75 |
|
| 76 |
-
# Print a sample document
|
| 77 |
-
if documents:
|
| 78 |
-
st.write("Sample processed document (LangChain):")
|
| 79 |
-
st.text(documents[0].page_content)
|
| 80 |
|
| 81 |
# ✅ Create FAISS VectorStore
|
| 82 |
langchain_index = faiss.IndexFlatL2(EMBED_DIMENSION)
|
|
|
|
| 73 |
doc = Document(page_content=content)
|
| 74 |
documents.append(doc)
|
| 75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
# ✅ Create FAISS VectorStore
|
| 78 |
langchain_index = faiss.IndexFlatL2(EMBED_DIMENSION)
|