Spaces:
Runtime error
Runtime error
Jason St George
commited on
Commit
·
290c3b8
1
Parent(s):
03d90d9
add openai
Browse files
app.py
CHANGED
@@ -9,6 +9,8 @@ from langchain import PromptTemplate
|
|
9 |
import os
|
10 |
os.environ["OPENAI_API_KEY"] = "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"
|
11 |
|
|
|
|
|
12 |
|
13 |
vecpath = "terence_vectorstore.pkl"
|
14 |
import argparse
|
|
|
9 |
import os
|
10 |
os.environ["OPENAI_API_KEY"] = "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"
|
11 |
|
12 |
+
import openai
|
13 |
+
openai.api_key = "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"
|
14 |
|
15 |
vecpath = "terence_vectorstore.pkl"
|
16 |
import argparse
|