Spaces:
Runtime error
Runtime error
updated keys
Browse files
app.py
CHANGED
@@ -34,10 +34,7 @@ from langchain.utilities import WikipediaAPIWrapper
|
|
34 |
from langchain.tools import AIPluginTool
|
35 |
|
36 |
# Get the value of the openai_api_key from environment variable
|
37 |
-
os.environ['OPENAI_API_KEY'] = "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"
|
38 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
39 |
-
|
40 |
-
os.environ['SERPAPI_API_KEY'] = "e771e9e02fdace5cbc95249ec3dfa8ab32f9e378cf4c9ad080444c7c0e80b8a6"
|
41 |
search = SerpAPIWrapper()
|
42 |
|
43 |
|
|
|
34 |
from langchain.tools import AIPluginTool
|
35 |
|
36 |
# Get the value of the openai_api_key from environment variable
|
|
|
37 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
|
|
|
|
38 |
search = SerpAPIWrapper()
|
39 |
|
40 |
|