MJ106 commited on
Commit
59ac752
1 Parent(s): 897ae65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -5,6 +5,8 @@ from langchain.embeddings import OpenAIEmbeddings
5
  from langchain.vectorstores import Chroma
6
  from langchain.chains import RetrievalQA
7
 
 
 
8
  def generate_response(uploaded_file, openai_api_key, query_text):
9
  # Load document if file is uploaded
10
  if uploaded_file is not None:
 
5
  from langchain.vectorstores import Chroma
6
  from langchain.chains import RetrievalQA
7
 
8
+ pip install streamlit langchain openai chromadb tiktoken
9
+
10
  def generate_response(uploaded_file, openai_api_key, query_text):
11
  # Load document if file is uploaded
12
  if uploaded_file is not None: