DrishtiSharma commited on
Commit
5704aad
·
verified ·
1 Parent(s): d47491b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- st.text(documents[0]["page_content"])
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)