Spaces:
Build error
Build error
Update app.py
Browse files34 unmodified lines353637383840394041424334 unmodified lines vectorstores = FAISS.from_documents(doc_chunks, embeddings) return vectorstores
# Function to extract mentality traits (viewpoints, reasoning patterns, etc.)def extract_mentality_traits(documents): text = "\n".join(documents) # Extract the text from each document text = "\n".join([doc.page_content for doc in documents]) blob = TextBlob(text)
# Analyze toneapp.py+2-2