Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from langchain.text_splitter import CharacterTextSplitter
|
|
5 |
from langchain.vectorstores import FAISS
|
6 |
from transformers import TFAutoModelForQuestionAnswering, AutoTokenizer, pipeline
|
7 |
|
8 |
-
os.environ["OPENAI_API_KEY"] = "sk-
|
9 |
|
10 |
# Read data
|
11 |
with open("./data/full_context.txt", "r") as file1:
|
|
|
5 |
from langchain.vectorstores import FAISS
|
6 |
from transformers import TFAutoModelForQuestionAnswering, AutoTokenizer, pipeline
|
7 |
|
8 |
+
os.environ["OPENAI_API_KEY"] = "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"
|
9 |
|
10 |
# Read data
|
11 |
with open("./data/full_context.txt", "r") as file1:
|