Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from langchain.vectorstores import Chroma
|
|
6 |
from langchain import OpenAI, VectorDBQA
|
7 |
from langchain.chains import RetrievalQAWithSourcesChain
|
8 |
import PyPDF2
|
|
|
9 |
|
10 |
api_key = os.environ["OPENAI_API_KEY"]
|
11 |
|
|
|
6 |
from langchain import OpenAI, VectorDBQA
|
7 |
from langchain.chains import RetrievalQAWithSourcesChain
|
8 |
import PyPDF2
|
9 |
+
import os
|
10 |
|
11 |
api_key = os.environ["OPENAI_API_KEY"]
|
12 |
|