Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ from langchain.chat_models import ChatOpenAI
|
|
10 |
from langchain.vectorstores import Pinecone, Chroma
|
11 |
from langchain.chains import ConversationalRetrievalChain
|
12 |
import os
|
|
|
13 |
import pinecone
|
14 |
import streamlit as st
|
15 |
import shutil
|
@@ -23,6 +24,7 @@ persist_directory = ''
|
|
23 |
chat_history = []
|
24 |
docsearch_ready = False
|
25 |
directory_name = 'tmp_docs'
|
|
|
26 |
|
27 |
|
28 |
def save_file(files):
|
|
|
10 |
from langchain.vectorstores import Pinecone, Chroma
|
11 |
from langchain.chains import ConversationalRetrievalChain
|
12 |
import os
|
13 |
+
import langchain
|
14 |
import pinecone
|
15 |
import streamlit as st
|
16 |
import shutil
|
|
|
24 |
chat_history = []
|
25 |
docsearch_ready = False
|
26 |
directory_name = 'tmp_docs'
|
27 |
+
langchain.verbose = False
|
28 |
|
29 |
|
30 |
def save_file(files):
|