Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -66,9 +66,9 @@ if uploaded_file:
|
|
66 |
documents.append({"page_content": content})
|
67 |
|
68 |
# Debugging: Preview loaded documents
|
69 |
-
st.write("Successfully processed documents:")
|
70 |
-
if documents:
|
71 |
-
|
72 |
|
73 |
# Create FAISS VectorStore with proper arguments
|
74 |
langchain_index = faiss.IndexFlatL2(EMBED_DIMENSION)
|
|
|
66 |
documents.append({"page_content": content})
|
67 |
|
68 |
# Debugging: Preview loaded documents
|
69 |
+
#st.write("Successfully processed documents:")
|
70 |
+
#if documents:
|
71 |
+
# st.text(documents[0]["page_content"])
|
72 |
|
73 |
# Create FAISS VectorStore with proper arguments
|
74 |
langchain_index = faiss.IndexFlatL2(EMBED_DIMENSION)
|